2006 Indonesia MO Problems/Problem 4
Problem
A black pawn and a white pawn are placed on the first square and the last square of a chessboard, respectively. Wiwit and Siti move alternatingly. Wiwit has the white pawn, and Siti has the black pawn. The white pawn moves first. In every move, the player moves her pawn one or two squares to the right or to the left, without passing the opponent's pawn. The player who cannot move anymore loses the game. Which player has the winning strategy? Explain the strategy.
Solution
First, we can try out the game with smaller values of . If , then black wins (since white can't move). If , then white wins (since white can move forward one space to corner black). Similarly, if , then white wins (since white can move forward two spaces to corner black).
Additionally, note that if the first player decides to move backwards spaces, then the second player can move forwards spaces to maintain the number of spaces between the first player and the second player. Same goes for if the second player moves backwards. Thus, if the two pieces are adjacent to each other and it is the first player's turn, then the first player would lose because the second player can force the first player back to the end of the playing area (same for the second player).
With this in mind, if , then black would win because moving one space forward would put white in black's position in and moving two spaces would put white in black's position in . Additionally, if , then white would win because by moving one, white would force black in white's position in , and if , then white would win by moving two.
Thus, we can suspect that black would win if and white would in otherwise, and we can prove by induction. We already have the base case covered in the above paragraphs. For the inductive step, assume that black would win if and white would win in or . Since white moves first, we can note that the second player moving would win if and the first player would win otherwise. For , white moving forward one space means that black can move two spaces forward to put white at , and white moving forward two spaces means that black can move one space forward to put white at , so black (or the second player) would win. However, for , white can move forward 1 to force black in white's position in , and for , white can move forward 2 to force black in white's position in , so white would win in both scenarios.
Since white and black can copy the opponent moving backward, moving backwards would not affect the results. Thus, by induction, black would win if by moving forward 1 if white moves forward 2 and moving forward 2 if white moves forward 1, and white would win otherwise by moving forward 1 if or by moving forward 2 if and then moving forward 1 if black moves forward 2 and moving forward 2 if black moves forward 1.
See Also
2006 Indonesia MO (Problems) | ||
Preceded by Problem 3 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 | Followed by Problem 5 |
All Indonesia MO Problems and Solutions |