You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//They start with a positive integer n and take alternating turns doing operations on it. Each turn a player can subtract from n one of its divisors that isn't 1 or n. The player who cannot make a move on his/her turn loses. Alice always moves first.
4
+
5
+
//Note that they subtract a divisor of the current number in each turn.
6
+
7
+
//You are asked to find out who will win the game if both players play optimally.
0 commit comments