How to use this calculator
Count the set partitions of n distinct labeled elements into any number of nonempty unlabeled blocks.
- Enter Number of distinct elements (0–40). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Bell number calculator works
Count the set partitions of n distinct labeled elements into any number of nonempty unlabeled blocks.
Inputs and units
- Number of distinct elements (0–40): n is the number of distinct elements, from 0 through 40.
Formula and method
B₀=1 and Bₙ₊₁=Σₖ₌₀ⁿ binomial(n,k)Bₖ; each set partition places a chosen subset with the block containing the new element.
Worked example
For six distinct elements, B₆=203 set partitions.
Interpreting the result
Blocks are unordered and elements are distinct. For n=0 there is one partition of the empty set.
Assumptions and limits
This is a labeled set-partition count, not an integer partition into addends. Exact counts grow rapidly, which motivates the input limit.
Sources and method
- Bell numbers count partitions of a labeled set into nonempty unlabeled blocks. Wolfram MathWorld: Bell numbers
Frequently asked questions
How is a Bell number different from an integer partition number?
Bell numbers split distinct labeled objects into subsets; integer partitions split an integer into addends.
Why is B₀ one?
There is one partition of the empty set: the empty collection of blocks.
How do I use the Bell number calculator?
Enter Number of distinct elements (0–40). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Bell number?
For six distinct elements, B₆=203 set partitions.
What does the Bell number calculator calculate?
Count the set partitions of n distinct labeled elements into any number of nonempty unlabeled blocks.