MathDB
2018 COMC C2

Source:

December 6, 2018
Comc2018 COMC

Problem Statement

Source: 2018 Canadian Open Math Challenge Part C Problem 2 —--
Alice has two boxes AA and BB. Initially box aa contains nn coins and box BB is empty. On each turn, she may either move a coin from box aa to box BB, or remove kk coins from box AA, where kk is the current number of coins in box BB. She wins when box AA is empty.
(a)\text{(a)} If initially box AA contains 6 coins, show that Alice can win in 4 turns. (b)\text{(b)} If initially box AA contains 31 coins, show that Alice cannot win in 10 turns. (c)\text{(c)} What is the minimum number of turns needed for Alice to win if box AA initially contains 2018 coins?