Maths Olympiad Prep

Library / /43 of 44

Combinatorics Difficulty 7.0 National Olympiad, round 2 Prove it Slovenia

There are three piles of tokens on the table: the first contains aa, the second bb and the third one cc tokens, and abc>0a \ge b \ge c > 0. Two players AA and BB take turns moving the tokens around. Player AA goes first. For each move, the active player first chooses two piles and then moves at least one token from the pile with fewer tokens into the pile containing more tokens. If the numbers of tokens in the two chosen piles are equal, then the player moves at least one token from any of them onto the other. A player wins if there is only one pile remaining after their move. Who has the winning strategy for different values of a,ba, b and cc?

Solution

If b=cb = c, then player BB has the winning strategy, otherwise player AA has the winning strategy.

First, assume that b=cb = c. Then the two piles with the smallest number of tokens contain the same amount. In this case, player BB can ensure that the situation remains like that every time he makes his move, whereas every time AA makes his move the pile with the least number of tokens contains less tokens than the remaining piles. Indeed, player AA always has to move at least one token from one of the smallest two piles onto one of the other piles. Player BB can then choose the biggest two piles which necessarily contain more tokens than the smallest pile, and distribute the tokens between the two so that the smallest two piles after his turn contain the same number of tokens. The game will end when the smallest two piles are emptied, which can only happen after BB completes his turn. Hence, BB can always win.

Now, assume that b>cb > c. In this case AA should move bc>0b-c > 0 tokens from the pile with bb tokens onto the pile with aa tokens. After his move the smallest two piles will contain cc tokens each. The situation is now the same as above, except this time BB is the first player to continue. Hence, AA has the winning strategy in this case.

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

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