SOLUTION: Prove that given any set of $17$ integers, not all odd, there exist nine of them whose sum is divisible by $2.$

Algebra.Com
Question 1208373: Prove that given any set of $17$ integers, not all odd, there exist nine of them whose sum is divisible by $2.$

Found 2 solutions by Edwin McCravy, ikleyn:
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
The sum of any number of evens is even.
The sum of any even number of odds is even. 

Case 1:
If there are 9 or more evens, then the sum of 9 evens will be even.

Case 2:
If there are only 8 or fewer evens (but at least 1 even), then there are 9 or 
more odds.  
Take 8 of those odds and 1 even, and the sum of those 9 will be even. 

PROVED.

Edwin

Answer by ikleyn(52781)   (Show Source): You can put this solution on YOUR website!
.
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.



RELATED QUESTIONS

Prove that given any set of $17$ integers, there exist nine of them whose sum is... (answered by mccravyedwin,Edwin McCravy,ikleyn)
Prove that the sum of the cubes of any two consecutive odd integers is divisible by... (answered by Edwin McCravy,math_tutor2020)
Please use formal mathematical induction to prove that given any 37 positive integers,... (answered by ikleyn)
Prove the following conjecture: "The sum of any three positive consecutive odd integers... (answered by Alan3354)
let 'a' and 'b' be a pair of positive integers whose highest common factor is 1.... (answered by richard1234)
prove that the product of any three consecutive numbers is even. So far I have tried , (answered by josgarithmetic,tenkun,amalm06,ikleyn)
given two odd integers 'a' and 'b'.prove that a^3-b^3 is divisible by 2^n iff a-b is... (answered by Alan3354)
Prove that in a group of ten persons there are at least two such that either the sum or... (answered by KMST)
Find the sum of all positive integers less than 1000 that are divisible by 3 but not by... (answered by vksarvepalli)