How many groupings
What Happens When One More Person Arrives
Every figure in this record follows from the row above by asking one question about the newest arrival: do they join a group that exists, or start one of their own?
at most 301 groupings
Five people into three groups: twenty-five ways. Six into three: ninety. Seven into three: three hundred and one.
Each of those comes from the one before it by a single question about the person who just arrived. If several teams repeat the allocation, managers may see how the platform supports this process while interpreting every signal beside completed work and participant feedback.
- 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. Readers examining the figures against mathematical or organisational research can also see MathOverflow.
Five, six and seven people in three groups, each row with exactly one person on their own. Twenty-five groupings, then ninety, then three hundred and one.
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 question
The newcomer either joins a group that already exists, or stands up a new group containing only themselves. There is no third option, and the two cases never overlap.
If they join an existing group, the other n − 1 people must already be sorted into all k groups — S(n − 1, k) ways — and the newcomer picks one of the k groups to join. That is k × S(n − 1, k).
If they start their own group, the other n − 1 people must be sorted into the remaining k − 1 groups: S(n − 1, k − 1) ways, with no further choice to make.
Add them: S(n, k) = k × S(n − 1, k) + S(n − 1, k − 1).
Watching it work
Six people into three groups, from the row for five.
Five into three is twenty-five; multiply by three because the sixth person can join any of the three groups: seventy-five. Five into two is fifteen; the sixth person makes the third group alone. Add: ninety.
Seven into three, from six. Ninety times three is two hundred and seventy. Six into two is thirty-one. Two hundred and seventy plus thirty-one is three hundred and one.
Nothing in those two paragraphs needed a table, a tool or a source. That is the whole provenance of every figure on this site.
Why the multiplication sits where it does
The asymmetry is worth noticing, because it is the only difference between this triangle and Pascal's.
Joining an existing group is a choice among k possibilities, so that branch carries a factor. Starting a new group is not a choice at all — the newcomer's group is determined the moment they decide to be alone in it — so that branch carries no factor.
The costly branch is the sociable one. Joining is many things that could happen; being by yourself is exactly one.
That single multiplication is why these numbers outrun binomial coefficients so quickly, and it is the reason a pool of twelve produces figures in the millions rather than the thousands.
The rule run backwards
Written the other way round the rule becomes an audit, and a cheap one.
Six into three is ninety and five into three is twenty-five. Subtract three times twenty-five from ninety and what is left must be five into two: ninety minus seventy-five is fifteen, which it is.
Any three figures in the neighbourhood therefore check a fourth with one multiplication and one subtraction. Better still, the check has a direction: the answer must come out positive and must come out smaller than the figure above it, so a mistake usually announces itself as an impossibility rather than as a number somebody has to look up.
What the rule does not reach
The third figure on every drawing.
How many of the ninety groupings leave exactly one person alone is not answerable from the triangle, because the triangle has no way to express the condition. It counts arrangements into k groups and does not distinguish a group of one from a group of four.
The singleton figures come from a second table built on the same kind of rule with one extra restriction — no group may hold a single person — and a choice made first about who the lone people are. That table has its own part of this record. The two are separate pieces of arithmetic that happen to be printed in the same row, and nothing in either produces the other.
The third column, across the same three rows
Each row of the drawing has exactly one person on their own: fifteen of twenty-five, sixty of ninety, one hundred and seventy-five of three hundred and one.
Three fifths, two thirds, and a little over four sevenths. The share rises and then falls, which is the behaviour of the whole third column and the subject of its own part of this record.
What is worth seeing here is that the share did not move much while the groupings figure multiplied by twelve. The number of ways grew enormously; the chance of landing in one with a single person alone hardly shifted. Those are different quantities and they move independently, which is why the record carries both.
How far the rule reaches
To the edges of the triangle and no further, which is exactly far enough.
A pool in one group falls one way at every size, so S(n, 1) = 1. A pool in as many groups as it has people also falls one way. Those two edges start the triangle, the rule fills in everything between them, and twelve rows later the record is complete.
Anybody who doubts a figure here can start from the edges and work down. It takes a sheet of paper, and it is the only check this site ever asks of a reader.
Near this one
- Thirty-Four Figures for a Hundred and Nine Shapes
The groupings count takes only thirty-four distinct values across the record, and the busiest of them covers f - What the Groupings Count Leaves Out
Ten people into three, four and five groups: nine thousand, thirty-four thousand, forty-two thousand. The figu - How Many Ways a Pool Falls Into Groups
Six people into three groups fall ninety ways. Eight into four fall one thousand seven hundred and one. The co - A Grouping Is Not an Ordered List
Sorting a pool produces a set of groups, not a sequence of them. The distinction decides what gets counted, an