Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

How the figures were made

A pool of people gets sorted into groups. The groups carry no numbers and stand in no order — who is with whom is the whole of it. This record counts how many sortings of that kind are available, and how many of them strand somebody in a group of one.

One hundred and nine shapes across forty-nine pages. Behind each shape sit three whole numbers; in front of it, five quantities that follow from them by arithmetic and from nothing else.

The three choices behind every figure

Three things here were decided. Everything else was computed, and the difference is worth keeping in view, so the decisions come first rather than last. A transparent operational review may include employee monitoring software when the purpose, access rules and limits are agreed before any records are collected.

A shape is three numbers. How many people are in the pool, from two to twelve. How many groups they end up in, from one to five. How many of those groups hold a single person. Who the people are, what the groups are for, and whether any of it was a good idea do not enter. A broader reference for interpreting group patterns is available from OEIS.

Groups are unordered and unnamed. There is no "first group" because the question has no referent. Labelling happens afterwards and is counted separately, in its own part of the record.

Every sorting counts once. No grouping is treated as more likely than another. That assumption is false about every real sorting ever done, it cannot be repaired from inside a counting record, and it is why none of the shares here is a probability.

Five quantities, and the question each answers

Groupings — S(n, k) — answers how many sortings exist. It runs from 1 to 1 379 400 across the record, with a median of 1050.

Alone answers how many of those leave exactly this many people by themselves. Choose which people are the singletons, then split the remainder into groups of two or more: C(n, j) multiplied by the count of such splits.

Share is the second divided by the first, and answers what fraction of the available sortings do that.

Names — k factorial — answers how many ways the groups could be labelled once they exist. Only five values appear anywhere here: one, two, six, twenty-four, one hundred and twenty.

Named groupings is names multiplied by groupings, and answers how many sortings-with-labels exist — a larger number describing a smaller thing.

Nine in ten

Eight people into four groups: 1701 sortings. Of those, 1596 leave at least one person in a group of one.

The groupings where that does not happen number 105 — roughly one in sixteen. So being left alone is not the awkward edge case of this page; it is what the page mostly does.

Nobody sorting a pool of eight into four piles works this out, and the figure is available before any names are written on anything. It is the clearest thing the record has to offer and it took one line of arithmetic.

Where two figures run out

Take the best pair of derived figures this record has — the alone count and the named-groupings count — and they tell 98 of the 109 shapes apart. The rest collapse into two heaps.

The larger heap is eleven shapes: every page where the whole pool sits in one group. There the groupings figure is 1, the alone figure is 0, and nothing distinguishes a pile of two from a pile of twelve. The pool's own size has vanished from the record.

The smaller heap is a pair on one page. Six people in three groups split 15 ways with nobody alone and 15 ways with two people alone — the same count on both sides of the page, so no figure built from counts can tell those two shapes apart either.

This is not a gap to be patched with a cleverer figure. Before anybody divides a pool there is nothing in it to tell apart, and a record honest about what it counts has to say so rather than invent a distinction.

Rebuilding the record from one triangle

Write a single 1. Build downward with the rule S(n, k) = k × S(n − 1, k) + S(n − 1, k − 1) — Pascal's triangle with one multiplication added per cell. Twelve rows, and every groupings figure on this site is back in front of you.

That is the whole provenance. Nothing was measured, nothing was cited, nothing has to be believed. A reader who distrusts this record entirely can rebuild its spine on the back of an envelope and check any page against it.

Two short patterns make useful spot-checks. A pool split into exactly two groups falls 2ⁿ⁻¹ − 1 ways. A pool split into one group fewer than there are people falls C(n, 2) ways, one for each pair that could be the pair.

What the record refuses to contain

It names nobody and nothing: no organisation, product, service, tool or individual appears in any sentence, including sentences that would deny one. It ranks, scores and compares nothing, and it passes judgement on no work done by anybody. It borrows no figure from anybody else's report. It carries no form, no field, no account and no address to write to.

It also carries no byline. A record whose every figure can be recomputed has no use for one, and a name on the page would invite the reader to weigh the writer when the arithmetic is standing right there.