Skip to main content
Calcimator

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
  1. Enter n and k — the Stirling number S(n, k) counts a specific combinatorial structure.
  2. Select Kind: First (signed cycle decompositions) or Second (partitions into non-empty subsets).
  3. Review the Stirling Number S(n, k) for the selected kind.
  4. Check Bell Number B(n) — the sum of all Stirling numbers of the second kind for a given n.
  5. Use Stirling numbers in combinatorics, probability, and the analysis of divide-and-conquer algorithms.
Ad Placeholder

Related Calculators

Ad Placeholder