Maths Olympiad Prep

Library / Ukrainian National Mathematical Olympiad, 3rd Round /24 of 24

Ukrainian National Mathematical Olympiad, 3rd Round

Combinatorics Difficulty 6.1 National Olympiad Prove it Ukraine

There are 20122012 piles of stones. The first pile contains 202^0 stones, the second pile contains 212^1 stones, the third pile contains 222^2 stones, and so on. The 20122012-th pile contains 220112^{2011} stones. At one step, one can pick three piles and add 22 stones to the first pile, 33 stones to the second pile, and 44 stones to the third pile, or pick any three piles and take 22 stones out of the first pile, 33 stones out of the second pile, and 44 stones out of the third pile, provided that each pile has enough stones. Is it possible after a finite number of such operations to get exactly 310053^{1005} stones in each pile?

Solution

After each operation the total number of stones changes by a number which is divisible by 99. At the end, the total number is 2012⋅310052012 \cdot 3^{1005}, which is divisible by 99. However, at the starting moment the total number is 20+21+22+…+22011=22012−12^0 + 2^1 + 2^2 + \ldots + 2^{2011} = 2^{2012} - 1, which is not divisible by 99. Indeed, 2012=335⋅6+22012 = 335 \cdot 6 + 2, 26=64=1(mod9)2^6 = 64 = 1 \pmod{9}, therefore
22012−1=(26)335⋅22−1=4−1=3(mod9). 2^{2012} - 1 = (2^6)^{335} \cdot 2^2 - 1 = 4 - 1 = 3 \pmod{9}.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.