Questions / Quant trading, Counting & stopping

Two dice, then a condition

Foundation, about 6 minutes. Question T011.

Two fair six-sided dice are rolled independently. How many of the 36 ordered outcomes sum to 8?

Answer it in the app It's free. You get hints, a second try if you miss, and a follow-up question.

Show the answer and worked solution

Answer: 5 outcomes

  1. The 36 outcomes are ordered pairs: the first coordinate identifies the first die.
  2. For a sum of eight, valid pairs are (2,6), (3,5), (4,4), (5,3), and (6,2).
  3. There are five pairs. The pair (1,7) is impossible; (2,6) and (6,2) are separate outcomes.

Interview shortcut. For two dice, a sum s has 6 − |s − 7| ordered ways: 8 has 5.

Takeaway. Keep the event count and sample-space convention consistent.

In the app this has a follow-up where one thing about the setup changes. Try the follow-up.

More counting & stopping questions