Calculator: Bell number
Enter the labelled inputs to calculate: Value Bₙ.
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
Bₙ=ΣₖS(n,k)
Integer inputs are bounded as shown. Exact integer results are displayed in full. Iterative tools have finite work limits; the Collatz calculation does not assert a general convergence proof.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
Bₙ=ΣₖS(n,k)
What assumptions apply?
Integer inputs are bounded as shown. Exact integer results are displayed in full. Iterative tools have finite work limits; the Collatz calculation does not assert a general convergence proof.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently from the sources below. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Value = 0
|
Value Bₙ: 1
|
| 2 |
Value = 5
|
Value Bₙ: 52
|
| 3 |
Value = 30
|
Value Bₙ: 846749014511809332450147
|
Sources
- NIST Digital Library of Mathematical Functions, §26.7 Set Partitions: Bell Numbers — eq. (26.7.2) B(n) = Σ S(n, k) — National Institute of Standards and Technology
- NIST Digital Library of Mathematical Functions, §26.8 Set Partitions: Stirling Numbers — eq. (26.8.6) S(n, k) = (1/k!) Σ (−1)^(k−j) (k choose j) j^n — National Institute of Standards and Technology