combinat::stirling2 – Stirling numbers of the second kind

combinat::stirling2(n,k) computes the Stirling numbers of the second kind.

→ Examples

Call:

combinat::stirling2(n, k)

Parameters:

n, k

nonnegative integers

Return Value:

a nonnegative integer.

Details:

Example 1:

One can partition the set math into math

combinat::stirling2(3,2)

math

Example 2:

combinat::stirling2(3)

Error: Two arguments expected. [combinat::stirling2]