Expected Rolls Until Two Consecutive Sixes in a Doodle Dice Game
Last updated: November 29, 2026
Quick Overview
A Google Doodle mini game rolls a fair die repeatedly and ends when two sixes appear in a row. What is the expected number of rolls?
0
0
0 solved
A Google Doodle mini game rolls a fair die repeatedly and ends when two sixes appear in a row. What is the expected number of rolls?
Google data science screens often include a short Markov chain puzzle to check whether you can define states and write first-step equations cleanly. The interviewer watches for a correct state definition and a quick sanity check, then often extends to longer runs.
What the Interviewer Expects
- Define states by the current run of trailing sixes
- Write first-step analysis equations
- Solve to get 42 rolls
- Generalize to k consecutive sixes
- Sanity check by simulation or intuition
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the expected number of rolls until three sixes in a row?
- What is the expected number of rolls until a six followed immediately by a five?
- What is the variance of the stopping time?
- How does the answer change for a biased die with P(six) = p?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Fair six-sided die, independent rolls, and the game stops at the first moment the last two rolls are both six. We want , the expected total number of rolls....
Approach
Use states for the length of the current trailing run of sixes: (no trailing six) and (last roll was a six). Let and be the expected remaining rolls from each state. Each roll ...