BellNumber
The nth Bell number, counting the ways to partition a set of n elements.
Wikipedia
Bell numberMathWorldBellNumberWikidataQ816063DLMF26.7.iFungrimBellNumber✓Fungrim entry60dc3ef4e249✓OEISA000110Wolfram LanguageBellB✓BellNumber(n)the nth Bell number SageMath
bell_number(n)SymPybell(n)Details
- Recurrence
, built from Binomial and the lower Bell numbers. - Generating function
. - Equals the sum of Stirling numbers of the second kind over all block counts,
. - Also arise as the nth moment of a Poisson distribution with mean 1.
- compute-engine requires a nonnegative integer argument; a negative n is left unevaluated.
Examples
See also: StirlingS1