Problem

Source: 239 S1 2014

Tags: game, combinatorics



Two players take turns alternatively and remove a number from $1,2,\dots,1000$. Players can not remove a number that differ with a number already removed by $1$ also they can not remove a number such that it sums up with another removed number to $1001$. The player who can not move loses. Determine the winner.