2023 AIME I Problems/Problem 6
Problem
Alice knows that red cards and black cards will be revealed to her one at a time in random order. Before each card is revealed, Alice must guess its color. If Alice plays optimally, the expected number of cards she will guess correctly is where and are relatively prime positive integers. Find
Solution
We break the problem into stages, one for each card revealed, then further into cases based on the number of remaining unrevealed cards of each color.
At any stage, if there are unrevealed cards of one color and of the other color, and , then the optimal strategy is to guess the color with unrevealed cards, which succeeds with probability
Stage 1:
There are always unrevealed cards of each color, so the probability of guessing correctly is .
Stage 2:
There is always a - split ( unrevealed cards of one color and of the other color), so the probability of guessing correctly is .
Stage 3:
There are now cases:
- The guess from Stage 2 was correct, so there is now a - split of cards and a probability of guessing the color of the third card correctly.
- The guess from Stage 2 was incorrect, so the split is - and the probability of guessing correctly is .
Thus, the overall probability of guessing correctly is .
Stage 4:
This stage has cases as well:
- The guesses from both Stage 2 and Stage 3 were incorrect. This occurs with probability and results in a - split and a certain correct guess at this stage.
- Otherwise, there must be a - split and a probability of guessing correctly.
The probability of guessing the fourth card correctly is therefore .
Stage 5:
Yet again, there are cases:
- In Stage 4, there was a - split and the guess was correct. This occurs with probability and results in a - split with a chance of a correct guess here.
- Otherwise, there must be a - split, making a correct guess certain.
In total, the fifth card can be guessed correctly with probability .
Stage 6:
At this point, only card remains, so the probability of guessing its color correctly is .
In conclusion, the expected value of the number of cards guessed correctly is so the answer is [Mention linearity of expectation somewhere in the solution since that is what allows you to simply sum up the individual probabilities.]~spencerdanese
~OrangeQuail9