The search functionality is under construction.

Keyword Search Result

[Keyword] the Stirling number of the second kind(1hit)

1-1hit
  • Constant Time Generation of Set Partitions

    Shin-ichiro KAWANO  Shin-ichi NAKANO  

     
    PAPER

      Vol:
    E88-A No:4
      Page(s):
    930-934

    In this paper we give a simple algorithm to generate all partitions of {1,2,,n} into k non-empty subsets. The number of such partitions is known as the Stirling number of the second kind. The algorithm generates each partition in constant time without repetition. By choosing k = 1,2,,n we can also generate all partitions of {1,2,,n} into subsets. The number of such partitions is known as the Bell number.