MathDB
2-player game with 4 piles of stones Puerto Rico Ibero IMO TST 2018.4

Source:

September 16, 2021
combinatoricsgamewinning strategy

Problem Statement

There are 44 piles of stones with the following quantities: 10041004, 10051005, 20092009 and 20102010. A legitimate move is to remove a stone from each from 33 different piles. Two players AA and BB play in turns. AA begins the game . The player who, on his turn, cannot make a legitimate move, loses. Determine which of the players has a winning strategy and give a strategy for that player.