At Least Six II
Question
You roll a fair -sided die (faces ) again and again, keeping a running total. Let be the number of rolls it takes for the total to reach or more. Find as a formula in . What is its value for ?
Solution
Try it yourself first. Open a hint if you get stuck.
Hint 1
Work backwards from the target. Let be the expected number of further rolls when the running total is , so once . What is , and how does depend on the totals above it?
Hint 2
Compute , and and spot the pattern. To prove it, write the equations for two neighbouring totals and subtract: almost everything cancels.
Show solution
Method 1: work backwards (recursion and induction). This is the same approach as At Least Six I, generalised.
Let be the expected number of further rolls when the running total is . We stop once the total reaches , so for . From a total you always spend one roll, then land on with chance each, and only landings below add anything:
The first few values.
- , since any roll finishes.
- .
- .
The pattern suggests
Proof by induction. The base case is . For the step, write the equations for two neighbouring totals, and :
The two sums are the same except for the last term . Subtracting the second equation from the first, everything else cancels:
So each step back from the target multiplies the expected number of rolls by . If , then , which completes the induction.
Answer. Starting from total means :
For this is , matching At Least Six I. For :
Method 2: count the ways to stay below the target. A second proof, which also explains why the answer is a clean power.
Let be the running total after rolls, with , and write for the largest total that has not yet reached the target.
Step 1: Turn into a sum of probabilities. Any whole number can be counted as
For example, if , the terms for are each and the rest are . Taking expectations,
And "" means "after rolls we still haven't reached ", i.e. . So
Step 2: Count the ways to stay at or below . Suppose rolls keep the total at most . The running totals are
- strictly increasing, since every roll is at least , and
- all between and .
So they are different numbers chosen from .
It also works the other way round. Pick any different numbers from , sort them and treat them as the running totals. Each roll is the gap between neighbouring totals, which is at least and at most , so it is always a legal face of the die.
That is a one-to-one match, so the number of roll sequences is , out of equally likely sequences:
Check with , : , and directly, the pairs of rolls with sum at most are out of . They match.
Step 3: Add them up. once , so
using the binomial theorem with .
Answer. . For this is , matching At Least Six I. For :
As grows, approaches , the same answer as adding uniform random numbers until the sum passes .