Two players are playing a game in which each have to pick $3$, $4$ or $7$ coins in each turn. There are $2009$ coins in total. Find the player who can win the game and mention their strategy if the last one who can pick any number of coins, is the winner.
Solved!
If it's a player's turn to pick coins, and there are $3,4,5,6,7,8,9$ coins, then the player is the winner (because either he can pick all the coins or just $1$ or $2$ coins are left for the other one, which is not allowable).
Hence, if it's a player's turn to pick coins, and there are $10, 11, 12$ coins, the player is the loser (simply because, regardless of the number of coins the player picks, the other player, in the next turn has $3, 4,5,6,7,8 $ or $9$ coins).
Now, if it's a player's turn to pick coins, and there are $13,14,15,16,17,18,19$ coins, then the player is the winner because he can easily make the other player have $10, 11, 12$ coins in the next turn.
In a similar way, if it's a player's turn to pick coins, and there are $10k+3,10k+4,10k+5,10k+6,10k+7,10k+8,10k+9$ coins where $k$ is a natural number, then the player is the winner.
At the beginning of the game, there are $2009$ coins, and it's the first player's turn to pick coins; therefore the first player is the winner.