The Stirling numbers of the second kind, or Stirling partition numbers, sometimes denoted

, count the number of ways to partition a set of

elements into

discrete, nonempty subsets. This Demonstration illustrates the different partitions that a Stirling partition number counts. The sums of the Stirling partition numbers are the Bell numbers.