There is a row of
nnn cells, numbered from
111 to
nnn. The
uuu-th cell is called to be adjacent to the
vvv-th cell if and only if
∣u−v∣=1|u-v|=1∣u−v∣=1.
There are three chess pieces: red, green, and blue. The red piece is located at the
rrr-th cell, the green piece is located at the
ggg-th cell, and the blue piece is located at the
bbb-th cell. (Different pieces may occupy the same cell.)
Alice and Bob take turns performing the following operation, with Alice going first:
-
Select a chess piece and move it to an adjacent cell (different pieces may occupy the same cell).
If, after a move, the ordered triple
(r,g,b)(r, g, b)(r,g,b) formed by the positions of the three pieces has appeared at some previous moment, the pla
yer who made that move loses, and the other player wins. (The initial state is considered to have appeared before.)
Assuming both players adopt an optimal strategy, who will win the game?