We start with the ordered sequence: [1, 2, 3, 4, 5, 6].
How the game works:
On each roll of a fair 6‐sided die, if the rolled number equals the number at the beginning (left end) or the number at the end (right end) of the current sequence, then that number is “eliminated” (removed) from the sequence. Otherwise, nothing happens. Notice that once an endpoint is removed, the sequence “shrinks” from that side so that a new endpoint is exposed.
Observation about the Process:
Because the numbers in the sequence are consecutive, when you remove one endpoint the remaining numbers still form a consecutive block. For example, if you remove 1 from [1,2,3,4,5,6], you get [2,3,4,5,6], and if you remove 6, you get [1,2,3,4,5].
Success probabilities in the states:
-
When the sequence has more than one number (say the sequence is [L, …, R] where L < R), only the two endpoints matter. On any roll:
- A roll of L (probability 1/6) or of R (probability 1/6) will remove one of the endpoints.
- Thus the probability that any single roll results in eliminating an endpoint is
[
\frac{1}{6} + \frac{1}{6} = \frac{2}{6} = \frac{1}{3}.
]
- The number of rolls until you eliminate one endpoint is a geometric random variable with success probability 1/3, so the expected number of rolls is
[
\frac{1}{(1/3)} = 3.
]
-
When the sequence has exactly one number (say [a]), only that number is both the left and right endpoint. On any roll:
- Only if you roll that number (with probability 1/6) will you eliminate it.
- Thus the expected number of rolls needed is
[
\frac{1}{(1/6)} = 6.
]
Calculating the Expected Total Rolls:
The game proceeds by eliminating one number each time until the sequence is empty. Starting with 6 numbers:
- For the first 5 eliminations (when there are at least 2 numbers left), the expected number of rolls per elimination is 3.
- For the final elimination (when only 1 number remains), the expected number of rolls is 6.
Thus, the total expected number of rolls is:
[
5 \times 3 + 6 = 15 + 6 = 21.
]
Final Answer:
The expected number of rolls to eliminate all numbers in the sequence is 21.