Maths Olympiad Prep

Library / Regional Competition /4 of 4

Regional Competition

Combinatorics Difficulty 6.3 National Olympiad Prove it Austria

On the occasion of the 47th Mathematical Olympiad 2016 the numbers 4747 and 20162016 are written on the blackboard. Alice and Bob play the following game. Alice begins and in turns they choose two numbers aa and bb with a>ba > b written on the blackboard, whose difference a−ba - b is not yet written on the blackboard and write this difference additionally on the board. The game ends when no further move is possible. The winner is the player who made the last move.
Prove that Bob wins, no matter how they play.

Solution

We consider the set BB of the numbers on the blackboard at the end of the game. It is clear that B⊆{1,…,2016}B \subseteq \{1, \dots, 2016\}. Let m=min⁡Bm = \min B and n∈Bn \in B. We claim that m∣nm \mid n. Otherwise, write n=qm+rn = qm + r with 0<r<m0 < r < m. By induction on kk, we have n−km∈Bn - k m \in B for 0≤k≤q0 \le k \le q (because no more moves are possible, these numbers must be on the blackboard). Thus r=n−qm∈Br = n - q m \in B, which contradicts the minimality of mm.

We conclude that m∣1=gcd⁡(2016,47)∈Bm \mid 1 = \gcd(2016, 47) \in B. By induction on cc, we have n−c∈Bn - c \in B for 0≤c≤20150 \le c \le 2015. This also implies that B={1,…,2016}B = \{1, \dots, 2016\}.

As 22 numbers had been on the blackboard at the beginning of the game, the game ends after 20142014 moves when all other numbers have been written. Therefore, Bob wins after move 20142014.

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.