2026-04-05

Problem — 2026-04-05

Hard

Hardprobability

What is the expected number of rolls of a fair six-sided die needed to get two consecutive sixes?

Enter a number

Show solution
Let EE be expected rolls from the start, and E6E_6 be expected additional rolls after rolling one six. From start: E=1+16E6+56EE = 1 + \frac{1}{6}E_6 + \frac{5}{6}E. After one six: E6=1+16(0)+56E=1+5E6E_6 = 1 + \frac{1}{6}(0) + \frac{5}{6}E = 1 + \frac{5E}{6}. From the first equation: E6=1+E66\frac{E}{6} = 1 + \frac{E_6}{6}. Substituting E6E_6: E6=1+16(1+5E6)=76+5E36\frac{E}{6} = 1 + \frac{1}{6}(1 + \frac{5E}{6}) = \frac{7}{6} + \frac{5E}{36}. So E36=76\frac{E}{36} = \frac{7}{6}, giving E=42E = 42.