Category: Probability Level: 301
P(sum = 7) = 6/36 = 1/6
Two dice give 36 equally likely outcomes. Sums run along diagonals of the grid, so 7 has the most ways and 2 and 12 have only one each.
Each row is the first die and each column is the second. Every cell is one outcome, and all 36 are equally likely, assuming nobody loaded the dice.
6 × 6 = 36 outcomes
Replace each pair with its total. The same sum repeats along each diagonal that runs from lower left to upper right.
sum = first + second
Six cells hold a 7, one in every row. No other sum fills a whole diagonal corner to corner.
P(7) = 6/36 = 1/6
Each diagonal becomes one bar. The bars climb by one from 2 up to 7 and step down again to 12, a tidy tent.
ways(s) = 6 - |s - 7|
Rolling 10 or more covers three diagonals in the corner. Add their counts, then divide by 36.
P(sum ≥ 10) = (3 + 2 + 1)/36 = 6/36 = 1/6
cd svg-generator python3 -m svgmath render dice-sum-grid --out /tmp/dice-sum-grid
Source: svgmath/diagrams/probability.py