Y by
Alice and Bob play a game on a numbered row of
squares. At the beginning a pebble is put on the first square and then the players make consecutive moves; Alice starts. During a move a player is allowed to choose one of the following:
The player who moves the pebble to the last square (a.k.a
) wins. Determine for which values of
each of the players has a winning strategy.

- move the pebble one square forward;
- move the pebble four squares forward;
- move the pebble two squares backwards.
The player who moves the pebble to the last square (a.k.a


This post has been edited 2 times. Last edited by Blastoor, Jun 5, 2022, 6:17 PM
Reason: typo
Reason: typo