Difference between revisions of "Stirling number"
(categories) |
(→Stirling Numbers of the Second Kind) |
||
Line 10: | Line 10: | ||
The Stirling number of the second kind, <math>S_2(n, k)</math>, is the number of [[partition]]s of an <math>n</math>-element set into exactly <math>k</math> [[subset]]s. | The Stirling number of the second kind, <math>S_2(n, k)</math>, is the number of [[partition]]s of an <math>n</math>-element set into exactly <math>k</math> [[subset]]s. | ||
− | For example, <math>S_2(4, 2) = </math> because we have the partitions <math>\{1 | 234, 2|134, 3|124, 4|123, 12|34, 13|24, 14|23\}</math>. | + | For example, <math>S_2(4, 2) = 7</math> because we have the partitions <math>\{1 | 234, 2|134, 3|124, 4|123, 12|34, 13|24, 14|23\}</math>. |
[[Category:Combinatorics]] | [[Category:Combinatorics]] |
Revision as of 10:09, 25 October 2010
There are two kinds of Stirling numbers: Stirling numbers of the first kind and Stirling numbers of the second kind. They appear in many situations in combinatorics.
Stirling Numbers of the First Kind
The Stirling number of the first kind, , is the number of permutations of an -element set with exactly cycles.
For example, because (writing all our permutations in cycle notation) we have the permutations .
Stirling Numbers of the Second Kind
The Stirling number of the second kind, , is the number of partitions of an -element set into exactly subsets.
For example, because we have the partitions .