I was working in my Calculus assignment and came across this and proving this would mean that I will come to a conclusion in greater part of the task but I couldn't achieve any solution. Intuitively seems correct of course there is a chance that my intuition is wrong. Question is as stated in the title, I will rephrase anyway
How to show either $\left \lfloor {\frac {m-1}{2}} \right \rfloor$ or $\left \lfloor {\frac{m+1}{2}} \right \rfloor$ odd and other is even?
Thanks
Note that $\left \lfloor {\frac{m-1}{2}} \right \rfloor + 1 = \left \lfloor {\frac{m-1}{2}} + 1 \right \rfloor = \left \lfloor {\frac{m+1}{2}} \right \rfloor$
So if $\left \lfloor {\frac{m-1}{2}} \right \rfloor$ is an even/odd integer, then $\left \lfloor {\frac{m+1}{2}} \right \rfloor$ will be an odd/even integer.