Stirling numbers of the second kind
This online calculator outputs Stirling numbers of the second kind for the given n
This content is licensed under Creative Commons Attribution/ShareAlike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8529/. Also, please do not modify any references to the original work (if any) contained in this content.
In combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of n objects into k nonempty subsets and is denoted by S(n,k)^{1}. This online calculator calculates Stirling number of the second kind for the given n, for each k from 0 to n and outputs results into a table. Note that this calculator uses "big integers" library (see Tips and tricks #9: Big numbers), so you can try pretty big n values.
For example, the number of ways to partition a set of 100 objects into 28 nonempty subsets is 77697 3005359874 5155212806 6127875847 8739787812 8370115840 9749925701 0238608628 9805848025 0748224048 4354517896 0761551674. Combinatorial explosion, that is :)
For those who curious, explicit formula is listed below the calculator
Stirling numbers formula

Ronald L. Graham, Donald E. Knuth, Oren Patashnik (1988) Concrete Mathematics, Addison–Wesley, Reading MA. ISBN 0201142368, p. 244. ↩
Comments