2023 AIME I Problem 6
Problem 6 of 15IntermediateProbability & StatisticsProblem-Solving Techniques
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
Your answer
Integer from 0 to 999
Show solution
Solution
Whatever Alice guesses, the deck evolves the same way; only the immediate success probability depends on her guess, so it is optimal to guess a color with the most cards remaining. Let be the expected number of correct guesses from a state with red and black cards left. Then and
By symmetry Computing upward: and finally
So the expected number of correct guesses is and
Tagged: expected value · recursive probability · optimization