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 and . Initially box contains coins and box is empty. On each turn, she may either move a coin from box to box , or remove coins from box , where is the current number of coins in box . She wins when box is empty. If initially box contains 6 coins, show that Alice can win in 4 turns.
If initially box contains 31 coins, show that Alice cannot win in 10 turns.
What is the minimum number of turns needed for Alice to win if box initially contains 2018 coins?