Problem:
A deck of 100 cards is labeled from top to bottom. The top two cards are drawn; one of them is discarded at random, and the other is inserted back at the bottom of the deck. This process is repeated until only one card remains in the deck. Compute the expected value of the label of the remaining card.
, 2024
Solutions — 2
Solution 1
Solution:
Note that we can just take averages: every time you draw one of two cards, the expected value of the resulting card is the average of the expected values of the two cards. This average must be of the form
where the s add up to . Clearly, the cards further down in the deck get involved in one less layer of averaging, and therefore through are weighted while the rest are weighted . To compute the average now, we just add it up to get .
Solution 2
Solution:
We see that in a deck with cards, after repeating the process times, each card has a chance of of remaining in the deck. This means that the average of the cards in the deck doesn't change between and cards. Thus, by repeating this process, we determine that the expected value of the last card is the average of all cards whenever we start with cards.
Suppose we instead start with cards in the following order:
Thus, after steps, we will be left with the original configuration. Since a power of cards are in the deck, we expect that the final card will be the average of these numbers. This is .