I approached this in a different way, although may be longer but it's certainly more intuitive
Quote:
If a is the sum of x consecutive positive integers. b is the sum of y
consecutive positive integers. For which of the following values
of x and y is it impossible that a = b?
a) x = 2; y = 6
b) x = 3; y = 6
c) x = 7; y = 9
d) x = 10; y = 4
e) x = 10; y = 7
It is impossible that a = b if one of them is necessarily even while the other is necessarily odd
for two consecutive integers the sum is necessarily odd
for six consecutive integers the sum is necessarily odd (sum of 3 "two consecutive integers" which are all odd)
Thus A is incorrect.
The sum of 3 consecutive integers can be even or odd (an odd integer from the first 2 + an additional integer which can be even or odd). Thus B is incorrect. You can do a similar approach for C and E (it follows that the sum of a specified odd number of consecutive integers can be odd or even).
Leaving us with D to be the only not-wrong answer. To confirm, you can easily deduce that the sum of 4 consecutive integers (sum of 2 odd integers) is necessarily even while the sum of 10 consecutive integers (sum of 5 odd integers) is necessarily odd. Thus D is the right answer.