Two dice numbered differently roll the same totals
Worth reading first: Every third coefficient · A polynomial that counts.
Take two dice and renumber them. On the first, write 1, 2, 2, 3, 3, 4; on the second, 1, 3, 4, 5, 6, 8. Throw them and add. A total of 2 needs the 1 on each die and comes up once in thirty-six throws. A total of 7 comes up in six ways, as it does with ordinary dice. So do all the others: the two pairs agree on every total from 2 to 12, and no game that looks only at the total — craps, Monopoly, Settlers of Catan — could tell which pair was being used.
George Sicherman found the pair and Martin Gardner published it in 1978. It is the only pair of six-faced dice with faces at least 1, other than the ordinary one, that does this. The reason it exists, and the reason it is unique, are the same, and both are about factoring a polynomial. A die is a polynomial; throwing two dice and adding is multiplying their polynomials; and a polynomial with integer coefficients factors into irreducible pieces in exactly one way, as a whole number does into primes. The ordinary pair is two copies of four pieces. Every pair with the same totals is a way of sharing those eight pieces between two dice, and there are only twenty-seven ways to try.
This essay draws the tables, the factors and their roots, counts the alternatives for dice of every size up to forty faces, and then uses the roots to answer a related question: whether two dice can be loaded so that every total is equally likely. They cannot, and the obstruction is a root on the real line.
Two tables, one set of totals
The figure writes out all thirty-six throws of each pair as an addition table. The ordinary table has its famous diagonals: every total is constant along a line from lower left to upper right, which is why 7 is the commonest total, with six cells, and 2 and 12 the rarest, with one each. The Sicherman table has no such pattern. Its rows repeat — the 2 and the 3 each appear twice on the first die — and its columns jump, from 1 to 3 and from 6 to 8. Yet the tally beside the tables, counting the cells with each total, is the same for both: 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1.
A tally like that is the kind of fact that is easy to check and hard to see. Checking it takes thirty-six additions. Seeing why it holds, and why no other renumbering does it, needs a way of writing a die that makes adding totals into an operation with structure. The trick is the oldest one in counting: let the exponent of record a number and the coefficient record how often it occurs. A die with faces becomes , and when two such sums are multiplied, every face of one meets every face of the other and their exponents add. The coefficient of in the product counts the throws totalling 7.
The ordinary die is , and the totals of two ordinary dice are its square. Sicherman’s dice are and , and the claim of the figure is that their product is the same square. Multiplying out confirms it; factoring explains it.
The pieces an ordinary die is made of
The ordinary die factors as
The three factors after the are cyclotomic polynomials: vanishes at , the square root of unity other than 1; vanishes at the two primitive cube roots of unity; and at the two primitive sixth roots. Together with , they are the factors of , one for each divisor of 6, and the ordinary die is . The same holds for a die of any size: an ordinary -faced die is times the product of the cyclotomic polynomials for every divisor of .
Two facts make this factorisation the whole story. First, each cyclotomic polynomial is irreducible over the integers — Gauss proved it for prime indices and Kronecker in general in 1854 — so these pieces cannot be broken further. Second, polynomials with integer coefficients factor uniquely into irreducibles, exactly as whole numbers do into primes. So if two dice and have the totals of two ordinary dice, then , and each of and must be a product of some of these pieces. There is nowhere else for a die to come from.
That is what makes the problem finite. A die is a share of eight pieces. Each die must take exactly one , because a die with no factor has a face numbered 0 and a die with two has no face below 2, which would leave the other die with a 0. That leaves two copies each of three cyclotomic factors to divide between two dice — three choices for each factor, twenty-seven shares in all.
Twenty-seven shares and three survivors
A share is a pair of dice only if each part has six faces. The number of faces of a die is its polynomial’s value at , since each face contributes , and the value at 1 of a product is the product of the values: is worth 2, is worth 3, and is worth 1. So the factor changes nothing about the number of faces, and a die has six faces exactly when it takes one factor worth 2 and one worth 3.
The figure lays the twenty-seven shares out as three grids, one for each way of dividing the two copies of , with the faces of each die written in every cell. The value-at-one condition kills every cell except the centre of each grid, where each die has one and one . Three shares are left. In the middle grid each die also takes one , and both dice are ordinary. In the left grid the first die takes neither copy, giving , the die numbered 1, 2, 2, 3, 3, 4; the second takes both, giving the die 1, 3, 4, 5, 6, 8. The right grid is the same pair the other way round.
There is one more condition a share must pass, and here it happens to cost nothing: a die cannot have a face that occurs a negative number of times, so the product must have non-negative coefficients. The factor has a negative coefficient, and on its own it is not a die. But multiplies out to , with every coefficient 0 or 1. That is the whole proof of uniqueness: the factorisation leaves three candidates, and the only one that is not the ordinary pair is Sicherman’s. The search in the figure is exhaustive because unique factorisation makes it so.
Where the roots go
The same argument can be drawn. A polynomial is determined, up to a constant, by its roots, and every root of a cyclotomic polynomial lies on the unit circle, at a corner of the regular polygon that forces. The figure places each die’s roots there. An ordinary die has five: , the two primitive cube roots of unity, and the two primitive sixth roots — the sixth roots of unity with 1 left out, which is why the sum of an ordinary die’s powers of a cube root vanishes and the total of any number of dice is divisible by 3 exactly a third of the time.
Sicherman’s first die keeps and the cube roots and has no sixth roots; it has degree four and three roots on the circle besides 0, and its face sum is smaller. The second die has , the cube roots, and both primitive sixth roots twice, so it has degree eight and its largest face is 8. Put the two dice together — multiplying polynomials pools their roots, just as multiplying complex numbers adds their turns — and every root of the ordinary pair appears with its proper multiplicity — twice, each cube root twice, each sixth root twice — so the products are the same polynomial.
The picture also shows what freedom there is and why it is limited. The roots of a die can only be moved between the two dice in whole cyclotomic blocks, since a die with a non-real root must contain its conjugate and the irreducible pieces cannot be split; and the blocks that change the number of faces, and the cube roots, are pinned by the face count. The only movable block is the pair of sixth roots, and it can only move whole. One movable block gives one alternative. The coefficients of a polynomial already know its roots, and here the roots know the faces.
A prime number of faces leaves nothing to share
The argument runs for dice of any size, and the figure carries it out for every number of faces from 2 to 40: list the divisors, share two copies of each cyclotomic factor between two dice in every possible way, keep the shares with faces apiece and non-negative coefficients, and roll each survivor to check that it really has the ordinary totals. Every pair found passes.
The pattern in the bars has a clean explanation, and it is read off the shape of a number’s divisors. The value of at 1 is when is a power of a prime , and 1 otherwise. So the factors worth something at 1 are the prime-power divisors of , and each die must collect, among its share of them, a product exactly equal to . When is prime, its only divisor above 1 is itself, is worth , each die must take exactly one copy, and the ordinary pair is the only possibility. Four, the smallest composite, already has an alternative — 1, 2, 2, 3 with 1, 3, 3, 5 — and Joseph Gallian and David Rusin showed in 1979 that every composite number of faces has at least one.
A product of two distinct primes, such as 6, 10, 14 or 15, has exactly one movable block — , worth 1 at — and exactly one alternative, as the bars confirm. Numbers with many divisors have many factors worth 1, which can be moved freely subject only to the coefficients staying non-negative: eight faces allow 3 alternatives, twelve allow 7, twenty-four allow 32 and thirty-six allow 56. The non-negativity condition is what keeps those numbers from being simple powers of 3; it is the one condition in the problem that is not about counting factors, and for large dice it is where all the work lies.
Why loaded dice cannot even out the totals
Renumbering keeps the totals of ordinary dice. A different question asks whether any dice can make every total from 2 to 12 equally likely — not by renumbering but by loading, so that the faces 1 to 6 come up with unequal probabilities on one die and on the other. The answer is no, and the proof is a sentence about roots.
A loaded die is the polynomial , where has degree 5 if , which it must be if a total of 12 is to be possible at all. Every polynomial has a root somewhere in the complex plane, and one of odd degree with real coefficients has one on the real line: it takes opposite signs far to the left and far to the right, so it crosses zero; and since its coefficients are non-negative, it is positive for and the crossing is on the negative side. The figure draws for the ordinary die, crossing at , and for five seeded loadings, crossing at points from to . Whatever the loading, the product of two dice is zero at a real point.
The uniform target is , and vanishes exactly at the eleventh roots of unity other than 1. Eleven is odd, so none of them is real: the red curve in the figure never touches the axis. A product that must vanish on the real line cannot equal a polynomial that never does. Renumbering could not have helped either, since 11 is prime and is a single irreducible block that neither die can take a part of.
Three dice, and only one more way
With three dice there are three copies of each cyclotomic factor to share among three dice, and many more shares to try. The search is just as finite, and it finds just as little. Each die needs a factor worth 2 and a factor worth 3, so the three copies of go one to each die, and so do the three copies of . Only the three copies of can move, and the share must keep every coefficient non-negative. The only alternatives are to give one die none and another two — which is a Sicherman pair alongside an ordinary die — and the ordinary set itself. The figure draws the tally of totals from 3 to 18 for both sets, and the bars coincide. Three four-faced dice similarly have a single alternative, and three eight-faced dice nine.
The answer for three dice is not a new pair; it is the old pair with a bystander. That is a general feature of the problem. Since is the only factor of an ordinary six-faced die worth 1 at , any set of six-faced dice with the ordinary totals differs from the ordinary set only in how the copies of that one factor are distributed, and a die can hold at most two of them before a coefficient goes negative. Any number of dice, then, can only trade sixth roots in pairs.
What the factorisation does not decide
The figures show that the search is complete for the sizes drawn, and the argument from unique factorisation shows that nothing outside the search could exist. What neither shows is any formula for the number of alternatives as the number of faces grows. The census is an exhaustive count for each , and the non-negativity condition, which is a question about the coefficients of a product, has no known simple description in terms of the divisors of . Gallian and Rusin’s theorem says only that the count is at least one for every composite .
The pictures also say nothing about dice whose faces may be 0 or negative. Allow a 0 and many more pairs appear, since a factor can then move from one die to the other: 0, 1, 1, 2, 2, 3 and 2, 3, 4, 5, 6, 7 have the ordinary totals, and they are only Sicherman’s pair with one shifted down and the other up. Allow different numbers of faces on the two dice — a four-faced die with a nine-faced one, for instance — and the count changes again. These variations are all decided by the same factorisation, but each needs its own search.
Finally, the loaded-dice argument is a proof of impossibility, not a measure of how close one can come. The best loadings, judged by how far the totals stay from uniform, are an optimisation problem that the root argument does not touch.
Still open: a formula for the count
The obvious next question is how many alternatives an -faced die has, as a function of . For a product of two primes the answer is one, and for it is one as well, as the census shows at 4, 9 and 25. Beyond that the counts jump about — 3 at 8, 7 at 12 and 18 and 20, 32 at 24 and 40 — and no closed form is known. The difficulty is that the cyclotomic polynomials worth 1 at have negative coefficients, and whether a product of several of them with some positive factors has only non-negative coefficients is a delicate question about cancellation, the same kind of question that makes the coefficients of the cyclotomic polynomials themselves hard to predict — they are all 0, 1 or −1 up to , and the first coefficient of size 2 appears only in . For the hundreds of faces of the computer-generated dice in role-playing games, the census would have to be run rather than read off.
There is also the matter of which games could tell the dice apart. Any game that uses only the total cannot; any game that uses the faces individually — doubles in backgammon, for example, or dice compared one against another — can. Sicherman’s dice roll doubles only four times in thirty-six, against six for ordinary dice.
Unique factorisation makes a finite search
Sicherman’s dice, 1, 2, 2, 3, 3, 4 and 1, 3, 4, 5, 6, 8, are the only six-faced dice besides the ordinary pair whose totals match two ordinary dice exactly. Writing a die as a polynomial turns adding totals into multiplying, the ordinary die factors as into irreducible cyclotomic pieces, and unique factorisation means every pair with the same totals is a share of those pieces — twenty-seven shares, of which the face count leaves three and the ordinary pair is one. A prime number of faces leaves nothing to share, so no alternative exists; composite numbers always have one, and the count runs to 56 for thirty-six faces. The roots on the unit circle tell the same story, and one root off the circle settles a second question: no loading of two dice makes the eleven totals equally likely, because a die’s polynomial must vanish somewhere on the real line and the uniform target never does.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- How near nought a sum of roots can come — both name cyclotomic polynomial, exhaustive search, roots of unity
- On the circle and never home — both name cyclotomic polynomial, roots of unity, unique factorisation
- The sums of roots of unity that add to nothing — both name cyclotomic polynomial, exhaustive search, roots of unity
- A card game almost nobody wins — both name exhaustive search, generating function
- A partition piled into a corner — both name exhaustive search, generating function
- A prime leaves no room for a comb — both name exhaustive search, roots of unity
Named objects
A dashed tag is an object no other essay names yet.
Cyclotomic polynomialExhaustive searchGenerating functionPolynomialRoots of unityUnique factorisation