StirlingS1
StirlingS1[n,m]
gives the Stirling number of the first kind .
Details
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- StirlingS1 is defined as the conversion matrix from FactorialPower of discrete calculus to Power of continuous calculus , where .
- gives the number of permutations of elements that contain exactly cycles. »
- StirlingS1 automatically threads over lists.
Examples
open allclose allBasic Examples (1)
Scope (2)
Applications (5)
Plot Stirling numbers of the first kind on a logarithmic scale:
Generate the disjoint cycle representations of all permutations of n elements:
Count the number of permutations that have 1, 2, … n disjoint cycles:
The unsigned Stirling number of the first kind counts the number of disjoint cycles:
Plot the average number of cycles in symmetric group elements:
The distribution of the position of the record in the infinite sequence, independent, identically distributed, continuous random variables:
Visualize the probability mass function of the second record:
Code to find the position of the record in a given vector, if any:
Compute positions of the second record in random exponential sequences and compare their histogram to the expected probability mass function:
Properties & Relations (5)
Generate values from the ordinary generating function:
Generate values from the exponential generating function:
Stirling numbers of the first kind are effectively inverses of Stirling numbers of the second kind:
Calculate large Stirling numbers of the first kind using Cauchy's theorem:
Stirling numbers of the first kind are given by a partial Bell polynomial with sign‐alternating factorial arguments:
Possible Issues (2)
Text
Wolfram Research (1988), StirlingS1, Wolfram Language function, https://reference.wolfram.com/language/ref/StirlingS1.html.
CMS
Wolfram Language. 1988. "StirlingS1." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StirlingS1.html.
APA
Wolfram Language. (1988). StirlingS1. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StirlingS1.html