Two players and play the following game. Before the game starts, chooses 1000 not necessarily different odd primes, and then chooses half of them and writes them on a blackboard. In each turn a player chooses a positive integer , erases some primes from the blackboard and writes all the prime factors of instead (if a prime occurs several times in the prime factorization of , it is written as many times as it occurs). Player starts, and the player whose move leaves the blackboard empty loses the game. Prove that one of the two players has a winning strategy and determine who.
Remark: Since 1 has no prime factors, erasing a single 3 is a legal move.