Browse · MathNet
PrintSaudi Arabian IMO Booklet
Saudi Arabia counting and probability
Problem
2000 consecutive integers (not necessarily positive) are written on the board. A student takes several turns. On each turn, he partitions the 2000 integers into 1000 pairs, and substitutes each pair by the difference and the sum of that pair (note that the difference does not need to be positive as the student may choose to subtract the greater number from the smaller one; in addition, all the operations are carried simultaneously). Prove that the student will never again write 2000 consecutive integers on the board.
Solution
Note that , so the sum of the squares of the numbers written on the board doubles on each turn. Note that which is congruent to modulo . Obviously, when we multiply this sum by , we will obtain a number divisible by , thus, we will never have consecutive numbers again, which is what we need to show.
Techniques
Invariants / monovariantsModular ArithmeticSums and products