There are 3 baskets each have N, N+1, N+2 balls. Two players take turns to take any number of balls from the any of the baskets. The player who takes the last ball wins. If both players play optimally, who (first-mover or second-mover) will win?
For example with boxes XYZ containing 1,2,3 balls respectively If A empties box X, B takes 1 ball from box Z leaving 2,2 forcing a win for B. If A takes 1 from box Y, B empties box Z forcing a win. If A empties box Y, B takes 2 from Z forcing a win. If A takes 1 from box Z, B empties box X forcing a win. If A takes 2 from box Z, B empties box Y forcing a win. If A empties box Z, B takes 1 from box Y forcing a win.
For 234: the first-mover draw 3 from 4 and convert it to 123. So the first-mover will win.
For 345: If move 4, to 3 B wins (take 5), to 2 B wins (take 5 to 1 and back to 123), to 1 B wins (take 5 to 2 and back to 123), to 0 B wins (take 5 to 3 and back to 033), hence the first-mover will not move 4. If move 5, to 4 B wins (take 3 to 0), to 3 B wins (take 4 to 0), to 2 B wins (take 4 to 1 back to 123), to 1 B wins (take 4 to 2 and back to 123), to 0 B wins (take 4 to 3), hence the first-mover will not move 5. If move 3, to 1 is a must-win strategy. So the first-mover will win.
For 456: move 6 to 1, then the first-mover will win.
So I guess that when N>1, it's always the first-mover win. But I don't know how to prove it.