Problem

Source: 1995 Bulgaria NMO, Round 4, p3

Tags: combinatorics, game, winning strategy, game strategy



Two players $A$ and $B$ take stones one after the other from a heap with $n \ge 2$ stones. $A$ begins the game and takes at least one stone, but no more than $n -1$ stones. Thereafter, a player on turn takes at least one, but no more than the other player has taken before him. The player who takes the last stone wins. Who of the players has a winning strategy?