Skip to content
← Back to all questions
FreeProbabilityEasy

At Least Six I

Asked atCitadel

Question

You roll a fair six-sided die again and again, keeping a running total. Let TT be the number of rolls it takes for the total to reach 66 or more. Find E[T]E[T].

Solution

Try it yourself first. Open a hint if you get stuck.

Hint 1

Work backwards. Let EiE_i be the expected number of further rolls when the total is ii. What is E5E_5?

Hint 2

From total i<6i < 6, one roll takes you to i+ki + k with k=1,…,6k = 1, \dots, 6 equally likely, so Ei=1+16(Ei+1+⋯+Ei+6)E_i = 1 + \tfrac16\big(E_{i+1} + \dots + E_{i+6}\big), where any EjE_j with j≥6j \ge 6 is 00.

Show solution

Set up. Let EiE_i be the expected number of further rolls when the running total is ii. Once the total is 66 or more we stop, so Ei=0E_i = 0 for i≥6i \ge 6.

From a total i<6i < 6 we always spend one roll, and then land on i+1,…,i+6i + 1, \dots, i + 6 with chance 16\tfrac16 each:

Ei=1+16(Ei+1+Ei+2+⋯+Ei+6).E_i = 1 + \tfrac16\big(E_{i+1} + E_{i+2} + \dots + E_{i+6}\big).

Only the terms that land below 66 are nonzero.

Work backwards from 55.

  • E5=1E_5 = 1, since any roll finishes.
  • E4=1+16E5=76E_4 = 1 + \tfrac16 E_5 = \tfrac76.
  • E3=1+16(E4+E5)=1+16⋅136=4936E_3 = 1 + \tfrac16(E_4 + E_5) = 1 + \tfrac16 \cdot \tfrac{13}{6} = \tfrac{49}{36}.
  • E2=1+16(E3+E4+E5)=343216E_2 = 1 + \tfrac16(E_3 + E_4 + E_5) = \tfrac{343}{216}.
  • E1=1+16(E2+E3+E4+E5)=24011296E_1 = 1 + \tfrac16(E_2 + E_3 + E_4 + E_5) = \tfrac{2401}{1296}.
  • E0=1+16(E1+E2+E3+E4+E5)=168077776E_0 = 1 + \tfrac16(E_1 + E_2 + E_3 + E_4 + E_5) = \tfrac{16807}{7776}.

Answer:

E[T]=E0=168077776≈2.16139.E[T] = E_0 = \frac{16807}{7776} \approx 2.16139.

Notice the pattern: E4=76E_4 = \tfrac76, E3=(76)2E_3 = \left(\tfrac76\right)^2, …, E0=(76)5E_0 = \left(\tfrac76\right)^5. At Least Six II explains why.