6. From a set of 11 square integers, show that one can choose 6 numbers such that
Problem 1038
Official solution
Solution: The first observation is that we can find 5 pairs of squares such that the two numbers in a pair have the same parity. We can see this as follows:
| Odd numbers | Even numbers | Odd pairs | Even pairs | Total pairs |
| :---: | :---: | :---: | :---: | :---: |
| 0 | 11 | 0 | 5 | 5 |
| 1 | 10 | 0 | 5 | 5 |
| 2 | 9 | 1 | 4 | 5 |
| 3 | 8 | 1 | 4 | 5 |
| 4 | 7 | 2 | 3 | 5 |
| 5 | 6 | 2 | 3 | 5 |
| 6 | 5 | 3 | 2 | 5 |
| 7 | 4 | 3 | 2 | 5 |
| 8 | 3 | 4 | 1 | 5 |
| 9 | 2 | 4 | 1 | 5 |
| 10 | 1 | 5 | 0 | 5 |
| 11 | 0 | 5 | 0 | 5 |
Let us take such 5 pairs: say . Then is divisible by 4 for . Let be the remainder when is divisible by . We have 5 remainders . But these can be 0,1 or 2 . Hence either one of the remainders occur 3 times or each of the remainders occur once. If, for example , then 3 divides ; if and , then again 3 divides . Thus we can always find three remainders whose sum is divisible by 3 . This means we can find 3 pairs, say, such that 3 divides . Since each difference is divisible by 4 , we conclude that we can find 6 numbers such that