Expected Die Rolls Until Every Face Has Appeared

Last updated: November 29, 2026

Quick Overview

You roll a fair six-sided die until each of the six faces has shown at least once. What is the expected number of rolls, and what is the probability that you need more than 20 rolls?

SIG
Statistics & Math
Quantitative Researcher
SIG
November 29, 2026
Quantitative Researcher
Phone Screen
Statistics & Math
Medium

0

0

0 solved


You roll a fair six-sided die until each of the six faces has shown at least once. What is the expected number of rolls, and what is the probability that you need more than 20 rolls?

SIG phone screens often contain a quick expected-value problem with a clean structure to spot, here a sum of geometric waits. The interviewer checks the decomposition, the arithmetic of 6 times the harmonic number, and an estimate of the tail.

What the Interviewer Expects
  • Split the process into stages by number of distinct faces seen
  • Recognize each stage as geometric with success chance (6 - i)/6
  • Sum to 6 times H6 = 14.7
  • Estimate a tail probability with a union bound or inclusion-exclusion
  • Generalize to n faces as about n ln n
Key Topics to Cover
coupon collector
geometric distribution
linearity of expectation
inclusion-exclusion
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What is the variance of the number of rolls?
  • What is the expected number of rolls to see every face at least twice, roughly?
  • With two dice rolled together each time, how does the expectation change?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Fair die, independent rolls, stop at the first moment all six faces have appeared. Want E[T]E[T] and P(T>20)P(T > 20)....

Approach

Let TiT_i be the rolls needed to go from ii distinct faces to i+1i+1. Each roll shows a new face with probability (6−i)/6(6-i)/6, so TiT_i is geometric with mean 6/(6−i)6/(6-i). Then T=∑i=05TiT = \sum_{i=0}^{5} T_i an...


Submit Your Answer
Markdown supported