MathDB
Right and Left

Source: 2019 Japan TST p11

April 27, 2023
combinatorics

Problem Statement

Let nn be a positive integer. There are n+2n+2 cells lined up in a row. Each of the nn cells, except for the two cells at the ends, is marked with either LL or RR, 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 LL, change the mark to RR and move the piece to the any left cell. [*]If the cell the piece is on is marked with RR, change the mark to LL 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.