You roll a fair die again and again, stopping as soon as a number comes up that you’ve already rolled. On average, how many rolls do you make (counting the last)?
Stop when a face shows up a second time.
Right answers go through as you type.
Show the solution
Answer: 1223/324 ≈ 3.775
Chance the first r rolls are all different.
Step 1 · Average rolls = chances you’re still rolling, added up
add the chance the first r rolls are all different, for r=0 to 6
You make roll r+1 only if the first r rolls were all different. Adding the chance of making each roll gives the average count.
Step 2 · First r rolls all different
1,1,65,95,185,545,3245
Each new roll must miss the numbers already seen: 5/6, then 4/6, and so on, multiplied together.
Step 3 · Add them
1+1+65+95+185+545+3245=3241223
This sum is the average number of rolls. After 7 rolls a repeat is certain, so the list stops there.