Skip to main content

Fubini numbers

Fubini numbers, or ordered Bell numbers, count the ways to partition a set into non-empty blocks when the order of the blocks matters. In Combinatorics, they show up in set partitions and Stirling number formulas.

Last updated July 2026•Fiveable Content Team

What are Fubini numbers?

Fubini numbers are the counts of ordered set partitions in Combinatorics. That means you are not just splitting a set into groups, you are also lining up those groups in a specific order. If the blocks are the same but their order changes, that counts as a different outcome.

For a set of size n, the Fubini number F(n) can be found by adding up all the ways to make k non-empty blocks and then ordering those blocks. The standard formula is F(n) = sum from k = 1 to n of S(n, k) k!, where S(n, k) is a Stirling number of the second kind. The Stirling number chooses the partition into k blocks, and the k! counts the ways to arrange those blocks.

A small example makes the idea easier to see. For n = 3, the set {1, 2, 3} can be partitioned into one ordered block in 1 way, into two ordered blocks in 6 ways, and into three ordered blocks in 6 ways. Altogether, F(3) = 13? Wait, not quite, because the correct ordered-partition count for n = 3 is 13 only if you include all block orderings across every partition type. The standard sequence is 1, 1, 3, 13, 75 for one common indexing choice, while some course materials list the first few values starting at n = 1 as 1, 1, 3, 15, 52 depending on convention. The main thing is to watch the indexing and whether the empty set is included.

That indexing issue is one of the most common mistakes with Fubini numbers. Different books may start at n = 0 or n = 1, and some list shifted sequences or related totals alongside them. When you see a problem, check whether the question is asking for the exact Fubini number, an ordered partition count, or a Bell-number relationship.

Fubini numbers grow very fast because each partition can be ordered in many ways. That is why they connect naturally to generating functions and recurrence formulas in more advanced counting work. They are a nice bridge between plain set partitions and more structured counting problems where order matters.

Why Fubini numbers matter in COMBINATORICS

Fubini numbers matter because they sit right at the point where partition counting becomes more detailed. Bell numbers count partitions when block order does not matter, but Fubini numbers count the ordered version, so they show how adding one more layer of structure changes the total.

That makes them useful whenever a combinatorics problem is really about grouping and ranking at the same time. For example, if you are counting possible ways to split a set of tasks into stages, clusters, or priority groups, the order of those groups can change the answer completely. Fubini numbers are the right tool for spotting that difference.

They also connect the course topics you see again and again: Stirling numbers, Bell numbers, and generating functions. If you can move between those ideas, you are doing more than memorizing a sequence. You are translating a counting problem into the language that makes it easier to solve.

Another reason they matter is that they help you check whether your counting setup is missing a factor of k!. In many problems, the hard part is deciding whether the blocks are just a partition or an ordered list of blocks. Fubini numbers make that distinction visible, which can save you from overcounting or undercounting.

Keep studying COMBINATORICS Unit 8

Official unit cheatsheet

open one-pager

How Fubini numbers connect across the course

Bell numbers

Bell numbers count set partitions without any order on the blocks. Fubini numbers build on the same partition idea, but they add block order, so each Bell-style partition can expand into several ordered versions. If you know the Bell number for n, Fubini numbers are a natural next step when the problem asks for a sequence or ranking of blocks.

Stirling numbers

Stirling numbers of the second kind count how many ways to split n elements into k non-empty subsets. Fubini numbers use those counts and then multiply by k! to order the blocks. So Stirling numbers do the partitioning job, and Fubini numbers add the arrangement step.

Set partitioning

Set partitioning is the base structure behind Fubini numbers. The only extra twist is that the subsets are treated as an ordered list instead of an unordered collection. If a problem says the groups have a sequence, priority, or stage order, you are no longer in plain partition territory.

Bell Triangle

The Bell Triangle is one way to organize Bell numbers recursively. It is related because both topics come from the same family of partition-counting problems. Fubini numbers are not the same sequence, but they belong to the same counting mindset, where recursive structure and table patterns often appear together.

Are Fubini numbers on the COMBINATORICS exam?

A problem set question will usually ask you to count ordered partitions, use the Stirling-number formula, or decide whether order changes the answer. You may need to write F(n) as sum of S(n, k)k!, compute a small value, or explain why multiplying by k! is the right move. If the question gives a set and asks for all ways to group and rank the blocks, Fubini numbers are the counting tool you reach for. In a written response, the main skill is showing the logic of the count, not just giving the final number.

Fubini numbers vs Bell numbers

Bell numbers count set partitions with no block order, while Fubini numbers count ordered set partitions. If changing the order of the blocks creates a new outcome, use Fubini numbers. If the blocks are just grouped and order does not matter, use Bell numbers.

Key things to remember about Fubini numbers

  • Fubini numbers count ordered set partitions, so the groups matter and their order matters too.

  • The standard formula is F(n) = sum of S(n, k)k!, which combines Stirling numbers with a factorial for block order.

  • A common mistake is using Bell numbers when the problem actually asks for ordered blocks.

  • These numbers grow quickly because every partition can be arranged in many different orders.

  • If a counting problem mentions groups, stages, or ranked blocks, check whether Fubini numbers are the right model.

Frequently asked questions about Fubini numbers

What is Fubini numbers in Combinatorics?

Fubini numbers, also called ordered Bell numbers, count the ways to partition a set into non-empty subsets when the order of the subsets matters. In Combinatorics, they show up when you need both grouping and sequencing. That extra order makes them larger than Bell numbers.

How do you calculate a Fubini number?

Use the sum F(n) = sum of S(n, k)k!, where S(n, k) is a Stirling number of the second kind. First count the partitions into k blocks, then multiply by k! to order those blocks. That two-step setup is the whole idea behind the formula.

What is the difference between Fubini numbers and Bell numbers?

Bell numbers count set partitions without caring about block order. Fubini numbers count the same kind of partitions, but they treat different block orders as different outcomes. So Fubini numbers are the ordered version of the partition-counting idea.

Why do Fubini numbers use Stirling numbers?

Stirling numbers of the second kind count how many ways to split a set into exactly k non-empty blocks. Fubini numbers need that count first, then they add the k! ways to arrange the blocks. That is why Stirling numbers are the building block inside the formula.