Dice Race: 12 vs Two Consecutive 7s

Two fair six-sided dice are rolled repeatedly. Player A wins when a sum of 12 appears before Player B gets two consecutive sums of 7.

1. Reduce each roll to 3 outcomes

7
Sum = 7
6 combinations out of 36
1/6
12
Sum = 12
Only (6,6)
1/36
×
Anything else
Breaks a possible streak of 7s
29/36

Final answer

Player A
7/13
≈ 53.85%
Player B
6/13
≈ 46.15%

2. The key idea: only remember whether the previous roll was 7

We do not need the full history. The only relevant information is whether the immediately previous roll was a 7.

S₀

No active 7 streak
Start here

S₁

Previous roll was 7
One more 7 means B wins
A wins
Roll 12
B wins
Roll 7 from S₁

3. Set up equations

Let a be the probability that A eventually wins starting from S₀.

Let b be the probability that A eventually wins starting from S₁.

a = 1/36 + (29/36)a + (6/36)b

Why? From S₀: roll 12 → A wins; roll something else → stay in S₀; roll 7 → move to S₁.

b = 1/36 + (29/36)a

From S₁, rolling a 7 makes B win, so that branch contributes 0 to A's winning probability.

4. Solve

36a = 1 + 29a + 6b
7a = 1 + 6b
36b = 1 + 29a
b = (1 + 29a) / 36
7a = 1 + (1 + 29a)/6
42a = 7 + 29a
13a = 7
a = 7/13

5. Interview shortcut

When you see a repeated stochastic process, ask: “What is the minimum information from the past that affects the future?”

Here the answer is only one bit of memory: Was the previous roll a 7? That gives exactly two transient states, so the infinite game becomes two simple equations.

6. Monte Carlo check

Run a simulation and compare it with the exact probability 7/13 ≈ 53.846%.