Take a test Sign in 中文
← Exercise 355 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Basic Counting (90)
---- (44)
Probability (91)

Exercises and their solutions

Exercise 355
The cards in a stack of $2n$ cards are numbered consecutively from 1 through $2n$ from top to bottom. The top $n$ cards are removed, kept in order, and form pile $A.$ The remaining cards form pile $B.$ The cards are then restacked by taking cards alternately from the tops of pile $B$ and $A,$ respectively. In this process, card number $(n+1)$ becomes the bottom card of the new stack, card number 1 is on top of this card, and so on, until piles $A$ and $B$ are exhausted. If, after the restacking process, at least one card from each pile occupies the same position that it occupied in the original stack, the stack is named magical. Find the number of cards in the magical stack in which card number 157 retains its original position.
← Back to Problem 355
Solution
  1. In the new stack (from the top), card $k$ of $A$ is at position $2(n-k)+1$ and card $n+k$ of $B$ at position $2(n-k)+2$.
  2. Card $157$ is odd, so it is in $A$ with $2(n-157)+1=157$, i.e.\ $n=235$, $2n=470$.
  3. Pile $B$ also has a fixed card ($n+k$ with $2(n-k)+2=n+k$ gives $k=\frac{n+2}3$, needs $n\equiv1\pmod3$; $235=3\cdot78+1$, so $k=79$).
  4. So the stack has $470$ cards.
  5. The answer is $\boxed{470}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1985 (1 problems)
1984 (1 problems)