Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

Limits

How to Check Every Figure on This Site

Five quantities, five rules, and two shapes worked through all of them. Nothing here needs a tool, a source, or any trust in whoever wrote it.

at most 1701 groupings

Home · Limits · Reference

Every figure in this record follows from three integers. This note sets out the rules and takes two shapes through every one of them. A reader who follows it has tested the machinery itself, and the remaining pages use no other machinery.

Write n for the pool, k for the number of groups, j for how many groups hold a single person.

Two worked shapes
one groupinggroupingsof them90151701840
  • dots on a field: one group, two people or more
  • a dot with no field: somebody left on their own
  • fields differ by hatch, never by colour

Two shapes drawn; which people land together is the drawing's own choice and carries no meaning. Managers testing alternative group structures can compare employee attendance data for planning against the same workload, correction case and reporting window.

Six people in three groups with nobody alone, and eight in four with one person alone. Every figure on this page is derived from those two triples below. For additional background on groups, evidence and collaboration, review material from JSTOR.

Computed from the three numbers alone. Which people and what the groups are for is a stated convention; the counts are set partitions of whole numbers.

The five rules

Groupings, S(n, k): build the triangle. Edges are ones; every other cell is k times the cell directly above, plus whatever stands one place up and one place left of it.

Alone: C(n, j) multiplied by the number of ways the remaining n − j people split into k − j groups of at least two.

Share: alone over groupings.

Names: k factorial.

Named groupings: names times groupings.

Six people, three groups, nobody alone

Groupings. Row five of the triangle is 1, 15, 25, 10, 1. Row six, third column: three times twenty-five plus fifteen, which is ninety.

Alone, with j nought. No singletons to choose, so C(6, 0) is one. The six people must fill three groups of at least two, which forces two, two and two. Pair off: five choices for the first person's partner, three for the next unpaired person, the last pair forced. Fifteen.

Share: fifteen over ninety, which is one sixth.

Names: three factorial, six. Named groupings: ninety times six, five hundred and forty.

Eight people, four groups, one alone

Groupings. Row seven is 1, 63, 301, 350, 140. Row eight, fourth column: four times three hundred and fifty plus three hundred and one, which is one thousand seven hundred and one.

Alone, with j one. Eight ways to choose the person who is alone. The remaining seven split into three groups of at least two in one hundred and five ways. Eight times one hundred and five is eight hundred and forty.

Share: eight hundred and forty over one thousand seven hundred and one, which is forty of eighty-one.

Names: four factorial, twenty-four. Named groupings: one thousand seven hundred and one times twenty-four, forty thousand eight hundred and twenty-four.

Two checks that need no formulas

Beyond recomputing, two things can be tested on any row by inspection.

The singleton counts on a page must add to that page's groupings figure. Any page where they do not has an error somewhere, and which side it is on cannot be told from the sum alone.

And the alone figure can never exceed the groupings figure, since the groupings with a given number of singletons are a subset of all of them. A row reporting otherwise is wrong whatever the formulas say.

Both of those catch mistakes with a single addition or a single comparison, which makes them worth doing first on any row that looks odd.

The one thing checking does not reach

Whether the shape belongs to the argument it was printed beside.

Recomputation establishes that a row is consistent with itself, and stops there. A panel can have three faultless integers, five faultless figures derived from them, and no connection whatever to the sentences around it, and every test on this site will pass.

The only guard is the caption, read against the prose. That is why a caption is compulsory on every panel here, and why one missing is treated as a defect even where the arithmetic is perfect.

The order to check in

Four of the five rules take a minute or two each. Two tests take seconds, and they should come first.

Compare the alone figure with the groupings figure. If the first is larger, the row is wrong and nothing else needs doing.

Add a page's alone figures and compare with its groupings figure. If they do not agree, something on that page is wrong, though not which thing.

Only then recompute. Start with the triangle entry, since a wrong groupings figure makes every share on the page wrong as well. Then the binomial coefficient, which is the easiest of the three factors to get wrong by one. Then the second-triangle entry, which is the one that needs a table.

What to do when one of them fails

Three figures produce five, so a failure localises quickly.

If the triangle entry is wrong, check it against the two cells it comes from rather than rebuilding the triangle: one multiplication and one addition.

If the triangle entry is right and the alone figure is wrong, one of the two factors is at fault. The binomial coefficient can be checked by hand in seconds. If it is right, the second-triangle entry is the culprit, and it has its own rule to be checked against — so many times the entry above, plus the pool less one times the entry two rows up and one column left.

And if every figure checks out and the page still looks wrong, the problem is not arithmetic. It is the shape, or the sentence beside it, and no amount of recomputation will find it.

Near this one