LibraryQuant puzzles

Chance of At Least One Six in Three Rolls

Quant puzzle · intro · free, full solution

The question

A fair six-sided die is rolled three times.

What is the probability that at least one of the three rolls shows a six?

Hint

Describe in words the only way the bet can lose. That description is much shorter than the list of ways to win.

The idea behind it

For an at-least-one question, compute the probability that nothing happens and subtract. Adding the individual chances double counts every outcome where the event happens more than once.

Worked solution

The answer that arrives first is one half, and it comes from adding: each roll is a six with probability 1/6, there are three rolls, so 3×1/6=1/23 \times 1/6 = 1/2.

That sum counts something, just not what we asked for. It counts the expected number of sixes, which really is one half. Expected count and probability of at least one are the same thing only when two sixes are impossible, and here they are not. Any outcome with two sixes gets counted twice in that sum, and the triple six gets counted three times, so the sum overshoots the probability.

Take the complement instead, the opposite event: every outcome where no six shows at all. "At least one six" fails exactly when all three rolls miss, and the rolls are independent, so

P(no six)=(56)3=125216P(\text{no six}) = \left(\frac{5}{6}\right)^{3} = \frac{125}{216}

and therefore

P(at least one six)=1−125216=91216≈0.421P(\text{at least one six}) = 1 - \frac{125}{216} = \frac{91}{216} \approx 0.421

Under one half, and the shortfall from 0.5 is precisely the double counting we identified. This is the move to reach for whenever a question says "at least one": the event we want is an "or" of overlapping things (a six on the first roll, or the second, or the third), which is painful, while its complement is an "and" of independent things (no six on the first, and none on the second, and none on the third), which is a product.

Line chart of Probability against Rolls of the die. Adding one sixth per roll. 1: 0.167; 2: 0.333; 3: 0.5; 4: 0.667; 5: 0.833; 6: 1. Chance of at least one six. 1: 0.167; 2: 0.306; 3: 0.421; 4: 0.518; 5: 0.598; 6: 0.665.Probability0.00.20.40.60.81.0123456Rolls of the dieAdding one sixthper rollChance of at leastone six0.421 against 0.5 at three rollsLine chart of Probability against Rolls of the die. Adding one sixth per roll. 1: 0.167; 2: 0.333; 3: 0.5; 4: 0.667; 5: 0.833; 6: 1. Chance of at least one six. 1: 0.167; 2: 0.306; 3: 0.421; 4: 0.518; 5: 0.598; 6: 0.665.ProbabilityAdding one sixth per rollChance of at least one six0.00.51.0123456Rolls of the die0.421 against 0.5at three rolls
Adding one sixth per roll reaches certainty at six rolls, while the true chance of at least one six is still about two in three there.

The follow-up an interviewer asks next is the pair of bets that started the subject. Compare rolling one die four times and betting on at least one six, against rolling two dice twenty four times and betting on at least one double six. A double six has probability 1/36, one sixth of 1/6, so the trial count is scaled up by six to compensate, and the two bets ought to be the same bet. They are not:

1−(56)4=6711296≈0.518,1−(3536)24≈0.4911 - \left(\frac{5}{6}\right)^{4} = \frac{671}{1296} \approx 0.518, \qquad 1 - \left(\frac{35}{36}\right)^{24} \approx 0.491

The first is a bet worth taking and the second is not, and the gap between them is about two and a half percentage points. That gap is why this problem exists: it was noticed at the table before anyone could explain it.

Write pp for the chance of a hit on one trial and nn for the number of trials. The explanation is that 1−(1−p)n1 - (1-p)^n is not a function of npnp alone. Both bets have np=2/3np = 2/3, and both probabilities sit above the common limit (here e≈2.718e \approx 2.718 is the base of natural logarithms)

1−e−2/3≈0.4871 - e^{-2/3} \approx 0.487

which is what 1−(1−p)n1 - (1-p)^n tends to as nn grows with npnp held fixed. The approach is from above, so the version with fewer, chunkier trials keeps more of its advantage. Four rolls at 1/6 is chunkier than twenty four rolls at 1/36, so it lands further above the limit, and the line between a winning and a losing bet happens to fall in between. Scaling trials to keep the expected count constant preserves the mean and nothing else.

In short

91/216, about 0.421, which is under one half.

Learn quant finance on Thuztra Learn

Thuztra Learn teaches the maths of quant finance from zero, in short lessons, for readers who are unsure of it. Three questions in the app build your quant roadmap, free. Membership is a paid subscription. See what Thuztra Learn is and what it costs, or see the whole Core quant curriculum.

Get the app and answer the three questions:

Download on the Microsoft Store Download for Android

On Android, the app is a direct download, not a Google Play listing. Which devices, and what each one needs.

Further reading

Topics

Also in the library