[Previous] [Next] [Contents]

[ImplState=stable,TestState=stable,DocState=stable]

combinat::stirling2 -- Stirling numbers of the second kind

Introduction

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

Call(s)


combinat::stirling2(n,k)

Parameters

n,k- nonnegative integers

Returns

a nonnegative integer.

Details

Example 1

One can partition the set 1,2,3 into 1,2,3 = 1,2 union 3 = 1,3 union 2 = 2,3 union 1

>> combinat::stirling2(3,2)
                                     3

Example 2

>> combinat::stirling2(3)  
      Error: Two arguments expected. [combinat::stirling2]

[Previous] [Next] [Contents]


MuPAD Combinat, an open source algebraic combinatorics package