GATE 2017 ME (ME2) – Question 3
If a and b are integers and a−b is even, which must always be even?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) $ab-b$
Explanation
The condition means a and b have the same parity. Expression ab−b=b(a−1) is even: if b is even its first factor is even, while if b is odd then a is odd and a−1 is even. Thus **D** always holds. For both odd, ab is odd; the other two candidates are also odd under the stated parity condition.