olymmath

AMO 2017 Problem 3

    Anna and Berta play a game in which they take turns in removing marbles from a table. Anna takes the first turn. When at the beginning of the turn there are n≥1n\geq 1 marbles on the table, then the player whose turn it is removes kk marbles, where k≥1k\geq 1 either is an even number with k≤n2k\leq \frac{n}{2} or an odd number with n2≤k≤n\frac{n}{2}\leq k\leq n . A player win the game if she removes the last marble from the table. Determine the smallest number N≥100000N\geq 100000 such that Berta can enforce a victory if there are exactly NN marbles on the tale in the beginning.

    Dataset text AI-MO AoPS. 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

    Similar problems

    These problems have the most words in common with this statement.

    Locator au-amo/2017/p3 · Tag H8FZA2CJHN · Edit this page on GitHub · Keys: j next, k previous