Nim-like game on four piles
Source: Dürer Competition Finals 2023/E+ 6
March 8, 2023
combinatoricsgame
Problem Statement
Two players play a game on four piles of pebbles labeled with the numbers respectively. The players take turns in an alternating fashion. On his or her turn, a player selects integers and with , removes pebbles from pile , and places one pebble in each of the piles . A player loses the game if he or she cannot make a legal move. For each starting position, determine the player with a winning strategy.