.
Prove that given any set of 17 integers, not all odd, there exist nine of them whose sum is divisible by 2.
~~~~~~~~~~~~~~~~~~~~~~~
Let m be the number of odd integers in our sets of 17 integer numbers, and
let n be the number of even integers in our sets of 17 integer numbers.
We have m + n = 17.
It implies that EITHER m >= 9 OR n >= 9.
In other words, one of the two integer numbers, m or n, must be at least 9.
Indeed, otherwise the sum m+n would not be more than 8 + 8 = 16; but m+n = 17.
If n >= 9, then we can take 9 even integer numbers from our set.
Their sum will be divisible by 2, so in this case these 9 integer numbers are the seeking set.
If m >= 9, then there are two sub-cases:
- (a) all integer numbers in our set are odd.
It contradict to the imposed condition, so this case can not happen.
- (b) there is at least one even number in our set of 17 integer numbers.
In this case, we form the set of 9 numbers, taking 8 odd numbers and this even number.
The sum of these 9 integer numbers is even number.
So, we proved that in any case, it is possible to find a subset of 9 integers with even sum.
The proof is complete and the problem is solved.