Library · The Fiddler: Solutions · Chapter 134

Can You Race Around the Monopoly Board?

Revised Report an error

The game of Oligopoly is played on a square board of 4040 spaces numbered 00 to 3939. Every player starts on space 00 and on each turn rolls two dice and moves forward that many spaces. Unlike Monopoly, nothing else ever moves you: no cards, no jail. On their first pass around the board, which space from 11 to 3939 are players most likely to land on at some point (not necessarily on the first roll)?

The Fiddler, Zach Wissner-Gross, December 1, 2023(original post)

The official solution appeared in the post of December 8, 2023 and gives space 77, with probability about 18.218.2 percent, for the main puzzle, and space 1313 (and space 1717 with three dice) for the Extra Credit. All agree with the answers below.

Solution

Write rkr_k for the chance that two dice total kk. Of the 3636 equally likely rolls, 6−∣k−7∣6 - |k - 7| total kk, so rk=6−∣k−7∣36,k=2,3,…,12.r_k = \frac{6 - |k - 7|}{36}, \qquad k = 2, 3, \dots, 12 . Write pnp_n for the chance of landing on space nn at some point during the first pass, with p0=1p_0 = 1 because everyone starts there.

The token only ever moves forward, so if it lands on nn there is exactly one space it stood on just before, some n−kn - k, followed by a roll of exactly kk. These possibilities, one for each kk, cannot happen together, and the roll made from n−kn - k does not depend on how the token got there. So pn  =  ∑k=212rk pn−k,p_n \;=\; \sum_{k=2}^{12} r_k \, p_{n-k}, counting pm=0p_m = 0 for negative mm. Each value comes from the eleven before it. The first few are p1=0,p2=136,p3=236,p_1 = 0, \qquad p_2 = \tfrac1{36}, \qquad p_3 = \tfrac2{36}, p4=336+136⋅136=1091296,p_4 = \tfrac3{36} + \tfrac1{36}\cdot\tfrac1{36} = \tfrac{109}{1296}, and continuing the same way:

nn 22 33 44 55 66 77
pnp_n .028.028 .056.056 .084.084 .114.114 .147.147 .182\mathbf{.182}
nn 88 99 1010 1111 1212 1313
pnp_n .166.166 .156.156 .148.148 .141.141 .134.134 .125.125

Up to space 1313 the peak is space 77, with p7=636+r2p5+r3p4+r4p3+r5p2=14177776.p_7 = \tfrac{6}{36} + r_2 p_5 + r_3 p_4 + r_4 p_3 + r_5 p_2 = \frac{1417}{7776} .

What about later spaces? From n=12n = 12 on, all eleven weights r2,…,r12r_2, \dots, r_{12} appear in the formula, and they add up to 11. So pnp_n is a weighted average of the eleven values before it, and an average can never exceed the largest thing it averages. For n=14n = 14 those eleven values are p2,…,p12p_2, \dots, p_{12}, all at most p7p_7, so p14<p7p_{14} < p_7. The same holds for p15p_{15}, whose window has moved on by one, and so on along the board: no later space ever catches up with space 77. In fact the values settle down to about 1/71/7. The average roll is 77, so in the long run the token touches one space in seven.  space 7, landed on with probability 14177776≈18.2%. \boxed{\ \text{space } 7, \text{ landed on with probability } \frac{1417}{7776} \approx 18.2\%. \ }

The chance of landing on each space during the first pass with two dice. The dark bars are space 7 , the peak, and space 13 , the low point after the first side. The dashed line is the long-run value 1/7 .
The chance of landing on each space during the first pass with two dice. The dark bars are space 77, the peak, and space 1313, the low point after the first side. The dashed line is the long-run value 1/71/7.

The computation

The program does not use the formula above. It follows the game roll by roll: it keeps the exact probability of every position after one roll, after two, and so on, until every position has passed 3939. A position is never visited twice, so adding up the chance of being on space nn after each number of rolls gives the chance of ever landing there.

from fractions import Fraction
from itertools import product
from collections import Counter

def landing(dice):
    roll = Counter(sum(t) for t in
                   product(range(1, 7), repeat=dice))
    total = 6 ** dice
    ever = Counter()
    now = {0: Fraction(1)}            # position -> chance
    while now:
        nxt = Counter()
        for pos, pr in now.items():
            for k, c in roll.items():
                if pos + k <= 39:     # still on the first pass
                    nxt[pos + k] += pr * Fraction(c, total)
        ever.update(nxt)
        now = nxt
    return ever

p = landing(2)
best = max(range(1, 40), key=lambda n: p[n])
print("most likely:", best, p[best], float(p[best]))

It prints

most likely: 7 1417/7776 0.18222736625514405

Extra Credit

The board has 1010 spaces per side, so the first side is spaces 00 to 99. Setting the first side aside, which space from 1010 to 3939 is least likely to be landed on during the first pass? What if you rolled three dice instead of two?

Solution

The table of pnp_n from the main puzzle, carried on to space 3939, answers it. After the first side the values run p10=.148,p11=.141,p12=.134,p_{10} = .148,\quad p_{11} = .141,\quad p_{12} = .134, p13=.125,p14=.139,p15=.146,…p_{13} = .125,\quad p_{14} = .139,\quad p_{15} = .146, \quad \dots and from space 1414 on they stay between 0.1380.138 and 0.1490.149, closing in on 1/71/7. So the low point is space 1313.

The reason is visible in the chart. A single roll reaches at most 1212, so space 1313 is the first space that always needs two or more rolls. Two rolls favour totals near 1414, and 1313 sits on their lower flank. Spaces just before it still get a share from single rolls, and spaces just after it get the full benefit of two rolls. Space 1313 falls into the gap between the two humps. Its exact chance is  space 13, with p13=22,621,0453⋅610≈12.5%. \boxed{\ \text{space } 13, \text{ with } p_{13} = \frac{22{,}621{,}045}{3 \cdot 6^{10}} \approx 12.5\%. \ }

With three dice the same thing happens one hump later. A single roll of three dice totals at most 1818 and seldom more than 1515, and two rolls centre on 2121, so the gap falls in the high teens. The exact table, from the computation below, puts the low point at space 1717 with probability about 7.637.63 percent, just under space 1616 at about 7.667.66 percent. Their difference is small enough that only exact arithmetic settles it:  with three dice: space 17, ≈7.63%. \boxed{\ \text{with three dice: space } 17,\ \approx 7.63\%. \ }

The computation

The function from The computation above handles any number of dice. Ask it for the least likely space after the first side, with two dice and with three.

for dice in (2, 3):
    p = landing(dice)
    low = min(range(10, 40), key=lambda n: p[n])
    print(dice, "dice: least likely", low,
          f"{float(p[low]):.4f}")

It prints

2 dice: least likely 13 0.1247
3 dice: least likely 17 0.0763
Report an error on this page

Reports are stored by Netlify. See the privacy note.