Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

The triangle

The Triangle Everything Comes From

One rule, twelve rows, and every groupings figure on this site. The rule is Pascal's with a single multiplication added, and that multiplication is why these numbers run so much larger.

at most 28501 groupings

Home · The triangle · Definition

Three thousand and twenty-five. Nine thousand three hundred and thirty. Twenty-eight thousand five hundred and one.

Nine, ten and eleven people into three groups. Each of those figures comes from the two above it by one rule, and the rule generates the entire record.

Three consecutive rows
one groupinggroupingsof them30251918933068252850122935
  • 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. When an abstract grouping becomes a real team exercise, Monitask analytics for workforce planning can be evaluated beside completed work, handoffs and direct participant feedback.

Nine, ten and eleven people in three groups. Each figure is three times the one above it plus the figure to its upper left. For an independent perspective on grouping, combinatorics or team structure, consult Entrepreneur.

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 rule

S(n, k) = k × S(n − 1, k) + S(n − 1, k − 1).

In words: the number of ways to put n people into k groups is k times the number of ways to put n − 1 people into k groups, plus the number of ways to put n − 1 people into k − 1 groups.

Watch it produce the third row. Ten people into three groups is nine thousand three hundred and thirty. Multiply by three: twenty- seven thousand nine hundred and ninety. Ten people into two groups is five hundred and eleven. Add: twenty-eight thousand five hundred and one.

Why that rule and not another

Because of the newest person.

Everybody else — all n − 1 of them — is already sorted. The newcomer either joins one of the k groups that exist, which they can do in k ways for each of the S(n − 1, k) ways the others were arranged, or stands up the k-th group by themselves, which requires the others to have filled k − 1 groups and leaves no further choice.

The two cases cover everything and overlap nowhere, so the counts add. That is the whole derivation, and it is the same argument that appears in the first part of this record, stated there as a story and here as a rule.

The edges

A triangle needs a boundary to start from. This one has two.

A pool in a single group falls one way, so the first column is all ones. Give every person a group of their own and that falls one way as well — nobody has any company and there is nothing to choose — so the diagonal is ones from end to end.

Between those two edges the rule fills in everything, and twelve rows later the record exists.

The last five rows, in full

Five columns wide, for pools of eight to twelve. Every groupings figure in the larger half of this record is in this list.

Pool 1 group 2 3 4 5
8 1 127 966 1701 1050
9 1 255 3025 7770 6951
10 1 511 9330 34105 42525
11 1 1023 28501 145750 246730
12 1 2047 86526 611501 1379400

Any figure in that table can be checked against the two above it in about fifteen seconds, which is the only reason it is printed. Six hundred and eleven thousand five hundred and one, for instance, is four times one hundred and forty-five thousand seven hundred and fifty plus twenty-eight thousand five hundred and one.

The rows are not symmetric

Pascal's rows read the same forwards and backwards. These do not, and the difference is worth noticing because it is where the intuition from the familiar triangle breaks.

Row eight runs up to one thousand seven hundred and one at four groups and then falls to one thousand and fifty at five. Row twelve climbs all the way across the five columns printed here. The peak moves rightward as the pool grows and the rows lean heavily to one side.

So reading one of these rows as though it were a row of binomial coefficients — rising to a middle and falling away evenly — gets the shape wrong, and the error is largest exactly where the figures are largest.

What the extra multiplication does

Pascal's triangle has the same shape with no multiplier: each entry is the sum of the two above it. Its entries reach nine hundred and twenty-four in the middle of row twelve.

Put a k in front of one of the two terms and the middle of row twelve reaches one million three hundred and seventy-nine thousand four hundred.

One multiplication, applied once per cell, is the difference between a few hundred and well over a million by the twelfth row.

The multiplier is the number of groups, and it is largest exactly where the figures are largest. That compounding is why set partitions outrun binomial coefficients so comprehensively and why a pool small enough to fit round a table produces figures nobody will enumerate.

What it means for this record

That there is nothing to take on trust.

Every groupings figure on this site is an entry in a twelve-row triangle generated by one rule from two edges of ones. A reader who distrusts the record entirely can rebuild it on a sheet of paper in a quarter of an hour and check any page against their own copy.

No dataset, no citation, no procedure, no author's judgement. The third column needs a second triangle built the same way — groups of at least two, which changes one line of the argument — and the rest of this part sets that out alongside how to check a row, where the table stops, and what the drawings verify before they will draw anything.

Near this one