Skip to content

StirlingS2

StirlingS2(n, k)

returns the Stirling numbers of the second kind. StirlingS2(n,k) is the number of ways of partitioning an n-element set into k non-empty subsets.

See

Examples

>> StirlingS2(10, 6)
22827

Implementation status

  • ☑ - partially implemented

Github