Start with a pile of 49 counters. Split any pile into two, write down the product of the two sizes (say 23 and 26, so you write 598), and keep going until every pile is a single counter.
Add up everything you wrote. Does the total depend on how you split, and what is it?
Put the counters in a row and number them. There are pairs of counters.
Say you split a pile of into a pile of and a pile of . The product is exactly the number of pairs you just pulled apart, one counter from each side. Once two counters are in different piles they never meet again, so no pair is pulled apart twice. And since everything starts together and ends alone, every pair is pulled apart once.
So the products count each pair exactly once. Their sum is the number of pairs, whatever order you went in.
Numbering the counters in a row loses nothing: any sequence of splits can be relabelled so that every pile is a run of consecutive numbers. That is what makes the picture below honest. A split writes down a rectangle of cells, and the rectangles tile the triangle of pairs.
Do not assume the total is the same whichever way you split. Prove it. Claim: every complete game on a pile of totals . Induct on .
A single counter writes nothing, and , so the claim holds for .
Take any game on a pile of . Its first split gives piles and , with , and writes . What is left is a complete game on the pile of and a complete game on the pile of , each played in whatever order the player likes. Both are smaller, so by the claim for smaller piles, they total and , however they were played. So the whole game totals
whichever split was made and whichever order the rest was played in. That proves the claim for , so it holds for every .
The last line depends only on , not on , or the order. That independence is what the induction proves; it is not assumed anywhere above.
Count the pairs of counters that are still together, meaning in the same pile:
At the start . At the end every pile is alone and . A split of into and lowers by
which is exactly what you write down. So you write down what loses, and loses in total. (The identity is checked for every below, as well as being a line of algebra.)
The film plays it on seven counters, because 21 cells fit on a screen and 1176 do not. Two plays, one total.
| Split | Written down | Total so far |
|---|---|---|
| 7 → 3 + 4 | 3 × 4 = 12 | 12 |
| 3 → 1 + 2 | 1 × 2 = 2 | 14 |
| 2 → 1 + 1 | 1 × 1 = 1 | 15 |
| 4 → 2 + 2 | 2 × 2 = 4 | 19 |
| 2 → 1 + 1 | 1 × 1 = 1 | 20 |
| 2 → 1 + 1 | 1 × 1 = 1 | 21 |
| Split | Written down | Total so far |
|---|---|---|
| 7 → 1 + 6 | 1 × 6 = 6 | 6 |
| 6 → 1 + 5 | 1 × 5 = 5 | 11 |
| 5 → 1 + 4 | 1 × 4 = 4 | 15 |
| 4 → 1 + 3 | 1 × 3 = 3 | 18 |
| 3 → 1 + 2 | 1 × 2 = 2 | 20 |
| 2 → 1 + 1 | 1 × 1 = 1 | 21 |
The second is the triangular number in person: . That is Gauss's sum, so the game also hands you a second proof of it.
Now put each play on the triangle of pairs. Every split is a rectangle, and the rectangles fit with no gap and no overlap. The plays are different, the triangle is the same.
Split a pile anywhere you like, or let a player do it, and see whether the total can come out different. The Bar tab is the continuous version, taken up below.
| Split | Pile → parts | Score | Score so far | Pairs still together | Sum |
|---|---|---|---|---|---|
| 1 | 10 → 2 + 8 | 16 | 16 | 29 | 45 |
| 2 | 8 → 5 + 3 | 15 | 31 | 14 | 45 |
| 3 | 5 → 2 + 3 | 6 | 37 | 8 | 45 |
| 4 | 3 → 1 + 2 | 2 | 39 | 6 | 45 |
| 5 | 3 → 1 + 2 | 2 | 41 | 4 | 45 |
| 6 | 2 → 1 + 1 | 1 | 42 | 3 | 45 |
| 7 | 2 → 1 + 1 | 1 | 43 | 2 | 45 |
| 8 | 2 → 1 + 1 | 1 | 44 | 1 | 45 |
| 9 | 2 → 1 + 1 | 1 | 45 | 0 | 45 |
Two changes to the rules leave the total fixed, and one does not (question 2 below). All three are checked.
Split into several piles at once, writing down every pair the move pulls apart (for piles of , and that is ). Still 1176 for 49 counters, in 5000 random games.
Give the counters weights, and write down the product of the two sides' total weights. The answer is no longer a count of pairs but a sum over them: with weights ,
Six counters weighing 3, 1, 4, 1, 5, 9 total 23, their squares total 133, and so the game is worth 198, however you split them:
| Pile (weights) | Split into | Written down | Total so far |
|---|---|---|---|
| {3, 1, 4, 1, 5, 9} | {3, 4, 5} | {1, 1, 9} | 12 × 11 = 132 | 132 |
| {3, 4, 5} | {3, 5} | {4} | 8 × 4 = 32 | 164 |
| {3, 5} | {3} | {5} | 3 × 5 = 15 | 179 |
| {1, 1, 9} | {1, 1} | {9} | 2 × 9 = 18 | 197 |
| {1, 1} | {1} | {1} | 1 × 1 = 1 | 198 |
Why and not something else? Because is what is left of a square when you cut it in two: . Anything of the form telescopes in the same way, giving a fixed total whatever you do. Product is the one of them that also counts something: pairs.
Lay the counters end to end as a bar of length , one unit each, and the film's game is cutting that bar, with one rule: you may only cut at whole numbers. Lift the rule.
Two things are new. You can always cut again, so the game never ends: the total is a limit, which you approach and never reach. And there is a new way to go wrong, which is to cut for ever without finishing.
Proof three survives with its binomials swapped for squares. A cut of into and lowers , half the sum of the squares of the piece lengths, by , which is exactly what you write down. So at every moment
and you can read the score off the table without having watched the game. Finishing means the largest piece shrinks to nothing, and since
that is exactly when goes to zero. So the total tends to if you finish and falls short if you do not, and at every moment the shortfall is .
The picture survives too. A pair of points of the bar is a point of the triangle , of area . Cut the piece from to at , and the pairs you pull apart are the ones with left of the cut and right of it: a rectangle by , of area exactly . The pairs not yet pulled apart are the ones inside a single piece, a small triangle on the diagonal of area for each piece. Cutting tiles the big triangle with rectangles, and the shortfall is the small triangles still showing.
Halve every piece every round, and after rounds there are pieces of , so the score is :
| Rounds | Cuts | Score | Still to come |
|---|---|---|---|
| 0 | 0 | ||
| 1 | 1 | ||
| 2 | 3 | ||
| 3 | 7 | ||
| 4 | 15 | ||
| 5 | 31 | ||
| 6 | 63 | ||
| 7 | 127 | ||
| 8 | 255 | ||
| 9 | 511 | ||
| 10 | 1023 |
The last panel never gets there. Halve the bar, then halve the right-hand half, then the right-hand quarter, for ever: you write down of , which is , two thirds of the triangle. Infinitely many cuts, and the left half is never touched.
The same thing without a picture: pick two points of the bar at random. The chance they are in the same piece is , so the score so far is times the chance they have already been pulled apart, and finishing is that chance going to 1. (After three rounds of halving, 200,000 random pairs agree: seven in eight are apart.) In the language of measure theory it is one sentence: the rectangles never overlap and, once you have finished, they cover every pair with , so their areas add up to the area of the triangle.
After cuts there are pieces, and is smallest when they are equal, at . So cuts never score more than , and coming within 1% of takes at least 99 of them. How close a strategy comes to that depends on how evenly it keeps the pieces:
| How you cut | Cuts |
|---|---|
| Shave slivers of off one end | 99 |
| Halve the biggest piece | 110 |
| Cut at a random point of the bar (median of 1,000 games) | 197 |
| Shave slivers of off one end | 905 |
| Cut a random piece at a random point (median of 101 games; 31 were still short after 300,000) | 87,676 |
| Halve what is left, then what is left of that, … | never |
Slivers of exactly are perfect, because they end at a hundred equal pieces. Thinner slivers waste cuts on pieces smaller than they need to be. A cut wherever a dart lands scores on average of after cuts, against the best possible , so it needs about twice as many. A piece picked at random, whatever its size, is hopeless: the big pieces get picked no more often than the crumbs. All but the last row do finish, though (the random ones with probability 1), so every one of them gets to in the end.
Now mix the two. Let some of the mass come in lumps that cannot be cut, atoms of sizes , and the rest be a continuum you can cut as finely as you like. Finishing now means every atom ends up on its own and everything else is cut to nothing. The conserved quantity is the same, but no longer goes to zero. It goes to , and the game is worth
In the triangle, each atom keeps its own small triangle on the diagonal for ever: pairs of points inside one lump can never be pulled apart.
Atoms of 1 and 2 in a continuum of 3 make , worth . Ground into grains, the continuum turns this into the weighted game from above, which the script plays every possible way, with the atoms in 4 different places:
| Grain | Every game scores | Short of by |
|---|---|---|
| 1/2 | ||
| 1/4 | ||
| 1/8 | ||
| 1/16 |
Each grain size gives one total, whatever you do, and the gap to is the grains' own small triangles, which vanish as the grains get finer.
The counters are the other end of the same formula: atoms of size 1 and no continuum give , the film's answer. The film's game and the bar are the two extremes, all atoms and no atoms at all.
None of the above is left to the proofs. scripts/splits.mjs asserts every number on this page, and this page is built from what it writes.
Every way of splitting. The total depends only on the sizes in the tree of splits, so the totals reachable from a pile of can be built up from the totals for smaller piles. The script does that for every up to 49. Counters are told apart and any pile can be cut into any two parts, so seven counters can be played 10,395 different ways, and the last row is the forty-nine. Every row has exactly one total.
| Counters | Pairs, n(n−1)/2 | Ways to split them | Different totals |
|---|---|---|---|
| 2 | 1 | 1 | 1 |
| 3 | 3 | 3 | 1 |
| 4 | 6 | 15 | 1 |
| 5 | 10 | 105 | 1 |
| 6 | 15 | 945 | 1 |
| 7 | 21 | 10,395 | 1 |
| 8 | 28 | 135,135 | 1 |
| 10 | 45 | 34,459,425 | 1 |
| 12 | 66 | 1 | |
| 20 | 190 | 1 | |
| 49 | 1176 | 1 |
Random games. Played out move by move, with a random pile and a random cut each time, and counted by the same rule as the film. Every game took exactly splits and landed on .
| Counters | Games | Different totals seen | The total |
|---|---|---|---|
| 49 | 20,000 | 1 | 1176 |
| 100 | 20,000 | 1 | 4950 |
| 1000 | 2,000 | 1 | 499,500 |
The lab. The lab above runs the functions in site/lib/splits-core.mjs, the same text the script imports. In 2,784 games on 2 to 30 counters, plain and weighted, played by all three players, the score plus the pairs still together is the same number after every split, every game ends on it, and every game on up to seven counters is played out in full. The bar is cut 45,648 times in 600 games and its score is every time.
The continuous game. Bars are cut in 1000 random games by three kinds of player (any piece, the biggest piece, wherever a dart lands), and in every strategy on this page. The total is recomputed from the pieces and compared with after 302,071 cuts in all, exactly in whole numbers wherever the cuts allow it, and no game ever beats the equal-pieces bound. Each panel of the figure is tested at 28,680 pairs, and every pair lies in exactly one rectangle or one leftover triangle. The atoms are played every possible way, with grains down to .
The film's own two plays on seven counters are run through the same game.ts the episode is drawn from: products 12, 2, 1, 4, 1, 1 and 6, 5, 4, 3, 2, 1, and the blocks they lay on the triangle cover all 21 cells once.
Each split turns one pile into two, so the number of piles goes up by one. You start with one pile and finish with , so there are splits. Same reason a chocolate bar of squares always takes breaks.
It does. For seven counters the smallest total is 20 (split as evenly as you can) and the largest is 27 (peel one off at a time). In general, with , the smallest is and the largest is . For 49 counters that is anything from 279 to 1224, and nothing like a single number.
| Counters | Smallest total | Largest total | Score always gives |
|---|---|---|---|
| 2 | 2 | 2 | 1 |
| 3 | 5 | 5 | 3 |
| 4 | 8 | 9 | 6 |
| 5 | 12 | 14 | 10 |
| 6 | 16 | 20 | 15 |
| 7 | 20 | 27 | 21 |
| 8 | 24 | 35 | 28 |
| 12 | 44 | 77 | 66 |
| 16 | 64 | 135 | 120 |
| 49 | 279 | 1224 | 1176 |
Same argument as proof one. A move that cuts a pile into parts pulls apart every pair that ends in different parts, and a pair that is pulled apart is never pulled apart again. Write down those pairs and you count each pair of counters once.
The same. Play any game in reverse and every product is unchanged, so the total is whatever you join.
A piece of becomes and , whose squares add up to . So every round multiplies by , and after rounds
It is within 1% after 8 rounds and 255 cuts, against 7 rounds and 127 cuts for halving. Cutting every piece in the ratio multiplies by , which is smallest at , so of all the round-by-round strategies halving is the fastest.
Into the counters. Each one is an atom of size 1, so it keeps its own triangle of area on the diagonal: the pairs of points inside one counter, which no cut is allowed to separate. 49 of them make 24.5, and in general
They are the halves of the diagonal squares that the film's triangle of cells leaves out.