PROJECT EULER · #0550
Divisor Game
Two players are playing a game, alternating turns. There are
- Both new piles must have a number of stones more than one and less than the number of stones of the original pile.
- The number of stones of each of the new piles must be a divisor of the number of stones of the original pile.
The first player unable to make a valid move loses.
Let
Find
Give your answer modulo
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.