Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

How many groupings

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 count is a set partition and it is bigger than it looks.

at most 1379400 groupings

Home · How many groupings · Definition

Put six people into three groups. Not into a first, second and third group — just into three groups, with nobody's group carrying a number. How many different ways can that come out?

Ninety.

Eight people into four groups: one thousand seven hundred and one. Twelve into five: one million three hundred and seventy-nine thousand four hundred.

Three shapes, three sizes of pool
one groupinggroupingsof them901517018401379400450450
  • 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. Before adding another reporting layer, a project lead can look through the current reporting options and test only the smallest useful setup on one representative team.

Each dot is one person and each hatched field is one group. The figures are how many groupings the shape allows and how many of those leave exactly this many people on their own. For additional background on groups, evidence and collaboration, review material from Mathematics Stack Exchange.

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.

What is being counted

A grouping is an answer to the question "who is with whom". It is settled when every person has been placed and nothing else is decided. There is no order among the groups and no label on any of them; two sortings that differ only in which pile somebody calls first are the same grouping.

The count of groupings of n people into k groups is written S(n, k). Mathematics calls these set partitions, and the figures are Stirling numbers of the second kind, but the names matter less than the object: a way of saying who ended up together.

No group is allowed to be empty

One restriction does quiet work in every figure here: when a shape says three groups, all three of them hold somebody.

Allow an empty group and "three groups" stops meaning anything, because any sorting into two could then be reported as a sorting into three with a pile left over, and the counts run together. Six people into at most three groups is ninety plus thirty-one plus one, which is one hundred and twenty-two — a different question with a different answer, and one this record never asks.

The second restriction is the absence of one. Group sizes are not constrained at all: a group of four and a group of one are both groups, and a page counting six people into three groups counts the lopsided arrangements alongside the even ones without comment.

Those two conventions together are what make the figure exact. Every group occupied, no group's size prescribed, and nothing recorded about any group beyond who is in it.

Why the number is large

Because every person added has to go somewhere, and "somewhere" is a widening choice.

Start with six people in three groups: ninety ways. Add a seventh person and they can join any of the three groups that exist, or the arrangement can shift entirely to accommodate them as part of a different split. The count goes to three hundred and one.

That is not a doubling, a tripling, or growth at any steady rate. Set partitions follow a rule of their own, and a later part of this site sets it out. What matters here is the size: a pool small enough to fit round one table admits a number of groupings nobody could enumerate in an afternoon.

What it is not a count of

It is not the number of people. It is not the number of groups. Both of those are inputs, and the groupings figure is a count of ways one could fall into the other.

The size of the pool and the number of piles are decisions. Everything downstream of them is arithmetic, and the arithmetic was never consulted.

It is also not a count of good groupings, or sensible ones, or ones anybody would actually produce. Nothing in this record knows what the groups are for. The ninety includes every arrangement of those six people into three groups, including the ones that would be immediately rejected by anyone who knew what they were for.

That is a limitation and it is also the point. The figure describes the space a decision is being made inside, not the decision.

The third number

Every drawing on this site carries a third figure that the two above cannot see: how many people end up in a group of one.

In the first row of the drawing, six people in three groups with nobody alone — fifteen of the ninety groupings are of that kind. In the second, eight people in four groups with exactly one person alone — eight hundred and forty of the one thousand seven hundred and one. In the third, twelve people in five groups with two alone — four hundred and fifty thousand four hundred and fifty of the one million three hundred and seventy-nine thousand four hundred.

A person in a group of one is not in a group. They are a person whom the sorting left by themselves, and how often that happens is the third part of this record.

Reading the drawing

Each dot is one person. A hatched field behind a run of dots is one group. A dot sitting on nothing is somebody alone.

Which people land together is the drawing's own arrangement and carries no meaning: the record knows how many groups there are and how big they are, never who is in them. The fields differ from each other by hatching rather than by colour, so a panel printed in black says exactly what a panel on a screen says.

What this part covers

How the count behaves when the pool grows and when the number of groups changes. Two short patterns that can be checked by hand — splitting into exactly two groups, and splitting into one group fewer than there are people. The widest page in the record. How fast the figures grow when the number of groups is left free. And the rule that generates every figure here from the row above it, which is the reason none of this has to be taken on trust.

Near this one