Stirling Number Calculator
Calculate Stirling numbers of the first and second kind, plus Bell numbers for set partitions.
Inputs
Results
Stirling Number S(n,k)
25
Bell Number B(n)
52
How to Use This Calculator
- Enter n and k — the Stirling number S(n, k) counts a specific combinatorial structure.
- Select Kind: First (signed cycle decompositions) or Second (partitions into non-empty subsets).
- Review the Stirling Number S(n, k) for the selected kind.
- Check Bell Number B(n) — the sum of all Stirling numbers of the second kind for a given n.
- Use Stirling numbers in combinatorics, probability, and the analysis of divide-and-conquer algorithms.
Ad Placeholder
Related Calculators
Integer Partition Calculator
Count the number of integer partitions of n with optional constraints on maximum part size and distinctness.
Permutations & Combinations Calculator
Calculate permutations and combinations with or without repetition for any n and r values.
Binomial Coefficient Calculator
Calculate nCr and nPr values with Pascal's triangle row visualization.
Catalan Number Calculator
Calculate Catalan numbers and their combinatorial interpretations including binary trees and lattice paths.
Ad Placeholder