Generalized Stirling numbers
Deformations and generalizations of Stirling numbers: r-Stirling, associated Stirling, Hsu–Shiue, Jacobi–Stirling, Legendre–Stirling, meromorphic and degenerate Stirling numbers, α-Stirling and generalized Stirling matrices, and (q,r)-Whitney and Dowling numbers.
DefinitionGeneralized Stirling numbers of the first kind#✓fully proved
For natural numbers \(n\), \(m\) and a real number \(x\), the generalized Stirling number of the first kind is
where \({n \brack k}\) is the unsigned Stirling number of the first kind, the number of permutations of \(n\) elements with exactly \(k\) cycles. For \(m > n\) the sum consists of the single term \(i = 0\), which is \({n \brack m} = 0\), so \({n \brack m}_x = 0\).
noncomputable def generalizedStirlingFirst (n m : ℕ) (x : ℝ) : ℝ :=
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose (i + m) m : ℝ) * (Nat.stirlingFirst n (i + m) : ℝ) * x ^ i)
Sources
- Carlitz and Broder, as recorded in Cereceda, arXiv:2401.13696v4, lines 132-142; Axioms 14 (2025), 746.
Used by 1
DefinitionGeneralized Stirling numbers of the second kind#✓fully proved
For natural numbers \(n\), \(m\) and a real number \(x\), the generalized Stirling number of the second kind is
where \({n \brace k}\) is the Stirling number of the second kind, the number of partitions of an \(n\)-element set into \(k\) nonempty blocks. For \(m > n\) the sum consists of the single term \(i = 0\), which is \(\binom{n}{0} {n \brace m} = 0\), so \({n \brace m}_x = 0\).
noncomputable def generalizedStirlingSecond (n m : ℕ) (x : ℝ) : ℝ :=
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose n i : ℝ) * (Nat.stirlingSecond (n - i) m : ℝ) * x ^ i)
Sources
- Carlitz and Broder, as recorded in Cereceda, arXiv:2401.13696v4, lines 132-142; Axioms 14 (2025), 746.
TheoremSum formula for generalized Stirling numbers of the first kind#✓fully proved
For natural numbers \(m \le n\) and every real number \(x\), the generalized Stirling number of the first kind satisfies
where \({n \brack k}\) is the unsigned Stirling number of the first kind; the sum includes both endpoints \(i = 0\) and \(i = n - m\).
theorem generalizedStirlingFirst_eq_sum (n m : ℕ) (x : ℝ) (_h : m ≤ n) :
generalizedStirlingFirst n m x =
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose (i + m) m : ℝ) * (Nat.stirlingFirst n (i + m) : ℝ) * x ^ i)
noncomputable def generalizedStirlingFirst (n m : ℕ) (x : ℝ) : ℝ :=
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose (i + m) m : ℝ) * (Nat.stirlingFirst n (i + m) : ℝ) * x ^ i)
MathlibExt/Combinatorics/Enumerative/GeneralizedStirlingNumbers.lean:25
Sources
- Cereceda, arXiv:2401.13696v4, lines 132-142.
Uses 1
TheoremSum formula for generalized Stirling numbers of the second kind#✓fully proved
For natural numbers \(m \le n\) and every real number \(x\), the generalized Stirling number of the second kind satisfies
where \({n \brace k}\) is the Stirling number of the second kind; the sum includes both endpoints \(i = 0\) and \(i = n - m\).
theorem generalizedStirlingSecond_eq_sum (n m : ℕ) (x : ℝ) (_h : m ≤ n) :
generalizedStirlingSecond n m x =
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose n i : ℝ) * (Nat.stirlingSecond (n - i) m : ℝ) * x ^ i)
noncomputable def generalizedStirlingSecond (n m : ℕ) (x : ℝ) : ℝ :=
Finset.sum (Finset.range (n - m + 1)) (fun i =>
(Nat.choose n i : ℝ) * (Nat.stirlingSecond (n - i) m : ℝ) * x ^ i)
MathlibExt/Combinatorics/Enumerative/GeneralizedStirlingNumbers.lean:35
Sources
- Cereceda, arXiv:2401.13696v4, lines 132-142.
Uses 1
- (q, r)-Whitney and Dowling numbers
- Associated Stirling numbers of the second kind
- Graphical Stirling and Lah numbers
- Hsu–Shiue generalized Stirling numbers
- Jacobi–Stirling and Legendre–Stirling numbers
- Meromorphic Stirling numbers and Bessel numbers
- Noncentral Whitney numbers and Tanny–Dowling polynomials
- r-Stirling numbers
- Simsek numbers
- Stirling expansions of the Akiyama–Tanigawa algorithm
- α-Stirling matrices
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.