CalcWorldHub
Free online calculator · no signup

Stirling second kind set partitions calculator

Count ways to partition n labeled objects into exactly k nonempty unlabeled groups.

4,000 tools
Stirling second kind set partitions calculator — Distinct objects n, Nonempty unlabeled blocks k and calculation method
Stirling second kind set partitions calculator: inputs and calculation method.

How to use this calculator

Count ways to partition n labeled objects into exactly k nonempty unlabeled groups.

  1. Enter Distinct objects n, Nonempty unlabeled blocks k. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Stirling second kind set partitions explained

S(n,k) counts ways to partition n distinguishable objects into k nonempty groups when the groups themselves are unlabeled.

Stirling S(n,k)25
Stirling S(n,k): 25 in the worked scenario.

A numerical walkthrough

Distinct objects n = 5; Nonempty unlabeled blocks k = 3.

  • Stirling S(n,k): 25

There are 25 partitions of five distinct objects into three nonempty unlabeled groups.

The model behind the numbers

S(n,k)=kS(n−1,k)+S(n−1,k−1)

Groups have no ordering and must be nonempty; this is not selection with replacement..

What to enter

n — Distinct objects n
Distinct objects n. Enter a whole number.
k — Nonempty unlabeled blocks k
Nonempty unlabeled blocks k. Enter a whole number.

Interpreting the result

Groups have no ordering and must be nonempty; this is not selection with replacement.

Frequently asked questions

Are the objects distinct?

Yes.

Are groups labeled?

No.

What if k exceeds n?

The answer is zero.

How do I use the Stirling second kind set partitions calculator?

Enter Distinct objects n, Nonempty unlabeled blocks k. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Stirling second kind set partitions?

Distinct objects n = 5; Nonempty unlabeled blocks k = 3. Stirling S(n,k): 25 There are 25 partitions of five distinct objects into three nonempty unlabeled groups.