olymmath

AIME 2024a Problem 3

  • Paper
  • Answer

Alice and Bob play the following game. A stack of nn tokens lies before them. The players take turns with Alice going first. On each turn, the player removes either 11 token or 44 tokens from the stack. Whoever removes the last token wins. Find the number of positive integers nn less than or equal to 20242024 for which there exists a strategy for Bob that guarantees that Bob will win the game regardless of Alice's play.

Dataset text AIME 1983 to 2026. Quoted with source.

Show the answer

809

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 aime/2024a/p3 · Tag 5G3F68ME8P · Edit this page on GitHub · Keys: j next, k previous