Question:If a and b are two odd positive integers such that a>b, then prove that one of the two numbers (a+b)/2 and (a-b)/2 is odd and the other is even.
My answer: since a and b are odd positive integers they have to be in the form 2q + 1;
so a = 2m + 1 b = 2n + 1
so,
(a+b)/2 = (2m+2m+1+1)/2
= (2m+2n+2)/2
= 2*{(m+n+1)/2}
= 2k where k is {(m+n+1)/2}
therefore (a+b)/2 is even
in the case of (a-b)/2
(a-b)/2 = {(2m+1)-(2n+1)}/2
= (2m-2n)/2
= 2*{(m-n)}/2
= 2k where k = {(m-n)}/2
therefore (a-b)/2 is also even
But the question says that one of the numbers have to be odd, so is my solution wrong or is there a problem in the question itself(the question is from my reference textbook).