Play the Vietnam TST 2002 Game!
Source: Vietnam TST 2002 for the 43th IMO, problem 2
June 26, 2005
floor functioninductioncombinatorics unsolvedcombinatorics
Problem Statement
On a blackboard a positive integer is written. Two players, and are playing a game, which respects the following rules:
acting alternatively per turn, each player deletes the number written on the blackboard and writes instead one number denoted with from the set \left\{n_k-1, \dsp \left\lfloor\frac {n_k}3\right\rfloor\right\};
player starts first deleting and replacing it with n_1\in\left\{n_0-1, \dsp \left\lfloor\frac {n_0}3\right\rfloor\right\};
the game ends when the number on the table is 0 - and the player who wrote it is the winner.
Find which player has a winning strategy in each of the following cases:
a) ;
b) n_0=\dsp \frac {3^{2002}-1}2;
c) n_0=\dsp \frac{3^{2002}+1}2.