Problem

Source: Slovenia 1998 2nd Grade P4

Tags: game, combinatorics



Two players play the following game starting with one pile of at least two stones. A player in turn chooses one of the piles and divides it into two or three nonempty piles. The player who cannot make a legal move loses the game. Which player has a winning strategy?