Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

The triangle

The Second Triangle, for Groups of Two or More

The third column needs its own table: groupings where every group holds at least two. One clause of the argument changes, and the newcomer can no longer arrive alone.

at most 3025 groupings

Home · The triangle · Recount

The groupings figure comes out of one triangle. The singleton figures need a second, and it is built the same way with one clause of the argument changed.

Seven, eight and nine people in three groups
one groupinggroupingsof them30110596649030251918
  • 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

Three shapes drawn; which people land together is the drawing's own choice and carries no meaning. Teams comparing allocations, outcomes and corrections can look through the present capabilities, then check whether the evidence improves the next grouping decision.

The left figure comes from the main triangle, the right from the second one. Both are built by hand from edges of ones. A separate educational or professional perspective relevant to the grouping can be found at Management Today.

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 clause that changes

In the main triangle, the newest person either joins an existing group or stands up a new one by themselves.

In the second triangle, every group must hold at least two, so a newcomer cannot stand up a group alone. They either join an existing group — which keeps it at two or more, since it already was — or they start a new group by bringing exactly one companion with them, chosen from the people already placed.

That second option is a different operation, and it is what makes the second table diverge from the first.

How the figures combine

A grouping of n people into k groups with exactly j singletons is built in two independent steps.

Choose the j people who will be alone: C(n, j) ways. Split the remaining n − j people into the remaining k − j groups with nobody alone: an entry from the second triangle.

Multiply. Nine people into three groups with one person alone: nine ways to choose that person, times one hundred and nineteen ways to split the other eight into two groups of at least two, which is one thousand and seventy-one.

The second triangle's edges

Its first column is all ones from row two downward: any pool of two or more forms a single group of at least two in exactly one way.

Its diagonal is empty where the main triangle's is full. A pool of n cannot be split into n groups of at least two, so the second triangle simply has no entry there, and the record has no shape to tabulate. Fourteen of the forty-nine pages are in that position for the same reason.

One table has ones down its diagonal because everybody can be alone. The other has nothing there because nobody can be.

The second triangle's rule, written out

The verbal argument above turns into a rule as short as the first one.

Groupings of n people into k groups of at least two: k times the same count for n − 1 people into k groups, plus n − 1 times the count for n − 2 people into k − 1 groups.

The first term is the newcomer joining one of the k groups. The second is the newcomer starting a group with one companion, which can be any of the n − 1 people already there, leaving n − 2 people to fill k − 1 groups.

Six people into two such groups: twice the ten ways five people do it, plus five times the one way four people form a single group of at least two. Twenty plus five is twenty-five.

Eight into three: three times the one hundred and five ways seven people do it, plus seven times the twenty-five ways six people fall into two. Three hundred and fifteen plus one hundred and seventy-five is four hundred and ninety.

The first rows of it

Shorter than the main triangle and shaped quite differently.

Pool 1 group 2 3 4
2 1
3 1
4 1 3
5 1 10
6 1 25 15
7 1 56 105
8 1 119 490 105

Two things to notice. The table starts late in each column — there is no entry for three groups until six people, and none for four groups until eight — because every group needs its two. And the figure at the far right of each row, where the pool is exactly twice the number of groups, is the count of perfect pairings: three, fifteen, one hundred and five.

The three rows

Seven, eight and nine people in three groups, each row showing a grouping with nobody alone.

Three hundred and one, nine hundred and sixty-six, three thousand and twenty-five come from the main triangle. One hundred and five, four hundred and ninety, one thousand nine hundred and eighteen come from the second, by way of the product above.

As shares: about thirty-five per cent, fifty-one, sixty-three. The no-singleton share climbs steadily as the pool grows against a fixed three groups, which is what the loosening ratio of people to groups would suggest.

That agreement is worth one sentence and no more. One page agreeing with an expectation is not evidence for it; the record holds forty-nine pages and the behaviour has to be read off all of them, which the earlier parts do.

Why both tables are printed as figures and not formulas

Because a formula invites the reader to trust the derivation and a figure invites them to check it.

Every singleton count on this site is a product of a binomial coefficient and a second-triangle entry, both small enough to verify. A reader who wants to confirm one thousand and seventy-one does nine times one hundred and nineteen and is finished.

That is the only kind of provenance this record offers, and it is the only kind it needs.

Near this one