benchmarks.wiki / Public workspace

Omni-MATH / Let n be a positive integer. Anna and Beatrice play a game with a deck of n cards labelled with the numbers 1,2,...,n. Initially, the deck is shuffled. The players take turns, star…

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Let nn be a positive integer. Anna and Beatrice play a game with a deck of nn cards labelled with the numbers 1,2,...,n1, 2,...,n. Initially, the deck is shuffled. The players take turns, starting with Anna. At each turn, if kk denotes the number written on the topmost card, then the player first looks at all the cards and then rearranges the kk topmost cards. If, after rearranging, the topmost card shows the number k again, then the player has lost and the game ends. Otherwise, the turn of the other player begins. Determine, depending on the initial shuffle, if either player has a winning strategy, and if so, who does.
Plain-text mathematical notation (without MathML)
Let n be a positive integer. Anna and Beatrice play a game with a deck of n cards labelled with the numbers 1,2,...,n. Initially, the deck is shuffled. The players take turns, starting with Anna. At each turn, if k denotes the number written on the topmost card, then the player first looks at all the cards and then rearranges the k topmost cards. If, after rearranging, the topmost card shows the number k again, then the player has lost and the game ends. Otherwise, the turn of the other player begins. Determine, depending on the initial shuffle, if either player has a winning strategy, and if so, who does.
Original LaTeX notation
Let $n$ be a positive integer. Anna and Beatrice play a game with a deck of $n$ cards labelled with the numbers $1, 2,...,n$. Initially, the deck is shuffled. The players take turns, starting with Anna. At each turn, if $k$ denotes the number written on the topmost card, then the player first looks at all the cards and then rearranges the $k$ topmost cards. If, after rearranging, the topmost card shows the number k again, then the player has lost and the game ends. Otherwise, the turn of the other player begins. Determine, depending on the initial shuffle, if either player has a winning strategy, and if so, who does.

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import