The following is a combinatorial game that I read about in a mathematical olympiad preparation book some time ago. I have forgotten the exact rules of this game, but the general idea of the problem goes something like this:
Two players A and B take turns placing counters on a 5 by 5 grid. Player A always goes first. Each turn, the player has the choice of placing either 1, 2 or 3 counters on the grid. The winner of the game is the person who has an even* number of tokens after all the squares on the grid have been used up.
*Due to the fact that I first read this problem several years ago, I am unable to remember whether the winner of the game was the one with an even or an odd number of tokens at the end of the game.
However, I am fairly certain that there was a winning strategy for player B. I have been unable to prove why that should be so for either case or find the original statement of the game. Has anyone seen this problem before? Does anyone have any idea of how to find a winning strategy for either case? Any help would be greatly appreciated.
Person $B$ has a winning strategy as the game rules stand right now (you win if you have even number of stones in the end). A $1$ is always answered by a $3$, and a $3$ by a $1$, but a $2$ is answered by a $1$ or $3$, depending on how many squares are left. I guess the easiest criterion to do mentally here is "whichever makes the number of squares left congruent to $0$ or $1$ modulo $4$".
If it is your turn and you have an even number of stones on the board, then you lose if there are $1$ or $4$ vacant squares left modulo $8$, and if you have an odd number of stones on the board, you lose if there are $0$ or $5$ squares left modulo $8$.
For instance, if you are at $0$ squares left modulo $8$ and you have an odd number of stones on the board, then either the game is over, and you've lost, or you have to put down stones. If you put down $2$ stones, then your opponent puts down $1$, and you're at odd stones, $5$ modulo $8$ squares left. If you put down $1$ or $3$, then you have an even number of stones on the board, and your opponent can make it $4$ squares left, modulo $8$.
The three other cases have to be checked as well, of course.
Having $0$ stones on the board (which is even) and $25\equiv 1$ squares left is a losing position, and if $A$ started out in one of the four losing positions, $B$ can force him back no matter what $A$ tries.