Proof of Equality for Odd Integers with Floor Function

  • Context:
  • Thread starter Thread starter tmt1
  • Start date Start date
  • Tags Tags
    Proof
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
tmt1
Messages
230
Reaction score
0
I need to prove or disprove that

$$ \left\lfloor{\frac{n}{2}}\right\rfloor= \left\lfloor{ \frac{n - 1}{ 2}}\right\rfloor$$ where n is an odd integer.I start with something like,

$$\left\lfloor{\frac{2k + 1}{2}}\right\rfloor$$

and then

$$\left\lfloor{k + \frac{1}{2}}\right\rfloor$$ which equals $$k$$

But

$$ k = \frac{n - 1}{2}$$

So is that enough proof for the question? or is it wrong?
 
Physics news on Phys.org
tmt said:
I need to prove or disprove that

$$ \left\lfloor{\frac{n}{2}}\right\rfloor= \left\lfloor{ \frac{n - 1}{ 2}}\right\rfloor$$ where n is an odd integer.I start with something like,

$$\left\lfloor{\frac{2k + 1}{2}}\right\rfloor$$

and then

$$\left\lfloor{k + \frac{1}{2}}\right\rfloor$$ which equals $$k$$

But

$$ k = \frac{n - 1}{2}$$

So is that enough proof for the question? or is it wrong?
as n is odd a and n = 2k+1 so $ k = \frac{n - 1}{2}$ so it should be sufficient