olymmath

BALTIC-WAY 2012 Problem 10

    Two players AA and BB play the following game. Before the game starts, AA chooses 1000 not necessarily different odd primes, and then BB chooses half of them and writes them on a blackboard. In each turn a player chooses a positive integer nn, erases some primes p1,p2,…,pnp_{1}, p_{2}, \ldots, p_{n} from the blackboard and writes all the prime factors of p1p2…pn−2p_{1} p_{2} \ldots p_{n}-2 instead (if a prime occurs several times in the prime factorization of p1p2…pn−2p_{1} p_{2} \ldots p_{n}-2, it is written as many times as it occurs). Player AA 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.

    Dataset text NuminaMath olympiads. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Locator baltic-way/2012/p10 · Tag RN7M0YYESW · Edit this page on GitHub · Keys: j next, k previous