Right and Left
Source: 2019 Japan TST p11
April 27, 2023
combinatorics
Problem Statement
Let be a positive integer. There are cells lined up in a row. Each of the cells, except for the two cells at the ends, is marked with either or , and there is a piece placed in one of the cells other than the two cells at the ends. Until the piece is placed on either of the two cells at the ends, the following operation is repeated:
[*] If the cell the piece is on is marked with , change the mark to and move the piece to the any left cell.
[*]If the cell the piece is on is marked with , change the mark to and move the piece to the any right cell.(1) Prove that for any initial configuration (marks on cells and location of the piece), only a finite number of operations can be performed.
(2) Consider a two-player game where each player takes turns performing the above operation. The player who performs the last operation loses. Find all initial configurations such that the second player can win, regardless of the first player's move.