Knuth's old sum
DefinitionGeneralized binomial coefficient of complex arguments#✓fully proved
For complex numbers \(u\) and \(v\), the generalized binomial coefficient is
where \(\Gamma\) is taken to be \(0\) at the non-positive integers (its poles) and division by \(0\) gives \(0\). In particular \(\binom{u}{v} = 0\) whenever \(v\) or \(u - v\) is a negative integer, and at natural arguments \(\binom{u}{v}\) is the ordinary binomial coefficient.
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Section 2, equation (7).
Used by 36
TheoremThe generalized binomial coefficient at natural arguments#✓fully proved
For all natural numbers \(n\) and \(k\), the generalized binomial coefficient of complex arguments at \((n, k)\), namely \(\Gamma(n+1)/(\Gamma(k+1)\,\Gamma(n-k+1))\), equals the ordinary binomial coefficient \(\binom{n}{k}\); in particular it is \(0\) when \(k > n\).
public theorem gammaBinom_natCast (n k : ℕ) : gammaBinom n k = n.choose k
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Section 2 (definitions of the binomial and the generalized binomial coefficients).
Uses 1
TheoremThe generalized binomial coefficient with lower argument zero#✓fully proved
For every complex number \(u\) with \(\operatorname{Re} u > -1\), the generalized binomial coefficient of complex arguments \(\binom{u}{0} = \Gamma(u+1)/(\Gamma(1)\,\Gamma(u+1))\) equals \(1\).
public theorem gammaBinom_zero_right (u : ℂ) (hu : -1 < u.re) : gammaBinom u 0 = 1
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Section 2, equation (7).
Uses 1
TheoremIntegral of a complex power of \(\cos(x/2)\) over \((0, \pi)\)#●ready to prove
For every complex number \(u\) with \(\operatorname{Re} u > -1\),
where \(\cos(x/2)^u\) is the principal complex power of the nonnegative real \(\cos(x/2)\) and \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments.
This is the first equality of equation (8) of the source.
public theorem_wanted integral_cos_half_cpow (u : ℂ) (hu : -1 < u.re) :
∫ x in (0 : ℝ)..Real.pi, ((Real.cos (x / 2) : ℂ)) ^ u =
(2 : ℂ) ^ (-u) * Real.pi * gammaBinom u (u / 2)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Lemma 1.
Uses 1
TheoremIntegral of \(\sin(x/2)\) to a complex power over \((0, \pi)\)#●ready to prove
For every complex number \(u\) with \(\operatorname{Re} u > -1\),
where \(\sin(x/2)^u\) is the principal complex power of the nonnegative real \(\sin(x/2)\) and \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments.
This is the second equality of equation (8) of the source.
public theorem_wanted integral_sin_half_cpow (u : ℂ) (hu : -1 < u.re) :
∫ x in (0 : ℝ)..Real.pi, ((Real.sin (x / 2) : ℂ)) ^ u =
(2 : ℂ) ^ (-u) * Real.pi * gammaBinom u (u / 2)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Lemma 1.
Uses 1
TheoremIntegral of \(\cos^m x\) over \((0, \pi)\)#●ready to prove
For every natural number \(m\), \(\int_0^\pi \cos^m x \, dx\) equals \(\pi \binom{m}{m/2} / 2^m\) if \(m\) is even and \(0\) if \(m\) is odd.
This is equation (9) of the source.
public theorem_wanted integral_cos_pow_zero_pi (m : ℕ) :
∫ x in (0 : ℝ)..Real.pi, Real.cos x ^ m =
if Even m then Real.pi * (m.choose (m / 2) : ℝ) / 2 ^ m else 0
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Lemma 1.
TheoremIntegral of \(\cos^u(x/2)\sin^v(x/2)\) over \((0, \pi)\)#●ready to prove
For all complex numbers \(u\) and \(v\) with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\),
where the powers are principal complex powers of the nonnegative reals \(\cos(x/2)\) and \(\sin(x/2)\), and \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments.
This is equation (10) of the source.
public theorem_wanted integral_cos_half_cpow_mul_sin_half_cpow (u v : ℂ) (hu : -1 < u.re)
(hv : -1 < v.re) :
∫ x in (0 : ℝ)..Real.pi, ((Real.cos (x / 2) : ℂ)) ^ u * ((Real.sin (x / 2) : ℂ)) ^ v =
(2 : ℂ) ^ (-u - v) * Real.pi * gammaBinom u (u / 2) * gammaBinom v (v / 2) *
(gammaBinom ((u + v) / 2) (u / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Lemma 1.
Uses 1
TheoremIntegral of \(\cos^m x \, \sin^v x\) over \((0, \pi)\)#●ready to prove
For every natural number \(m\) and every complex number \(v\) with \(\operatorname{Re} v > -1\), the integral \(\int_0^\pi \cos^m x \, \sin(x)^v \, dx\) equals \(2^{-m-v} \pi \binom{m}{m/2} \binom{v}{v/2} \binom{(m+v)/2}{m/2}^{-1}\) if \(m\) is even and \(0\) if \(m\) is odd. Here \(\sin(x)^v\) is the principal complex power of the nonnegative real \(\sin x\) and \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments.
This is equation (11) of the source.
public theorem_wanted integral_cos_pow_mul_sin_cpow (m : ℕ) (v : ℂ) (hv : -1 < v.re) :
∫ x in (0 : ℝ)..Real.pi, ((Real.cos x : ℂ)) ^ m * ((Real.sin x : ℂ)) ^ v =
if Even m then
(2 : ℂ) ^ (-(m : ℂ) - v) * Real.pi * gammaBinom m ((m : ℂ) / 2) *
gammaBinom v (v / 2) * (gammaBinom ((m + v) / 2) ((m : ℂ) / 2))⁻¹
else 0
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Lemma 1.
Uses 1
TheoremKnuth's old sum (the Reed–Dawson identity)#●ready to prove
For every natural number \(n\), the sum \(\sum_{k=0}^{n} (-1)^k \binom{n}{k} \binom{2k}{k} 2^{-k}\) equals \(2^{-n} \binom{n}{n/2}\) if \(n\) is even and \(0\) if \(n\) is odd.
public theorem_wanted knuth_old_sum (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ k * (n.choose k : ℚ) * ((2 * k).choose k : ℚ) / 2 ^ k =
if Even n then (n.choose (n / 2) : ℚ) / 2 ^ n else 0
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 1.
TheoremTwo-parameter generalization of Knuth's old sum#●ready to prove
For all natural numbers \(m\) and \(n\) and every real number \(v > -1\),
equals, if \(n\) is even,
and, if \(n\) is odd,
Here \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments, which at natural arguments is the ordinary binomial coefficient.
This is equation (14) of the source.
MetaMathlibExt.knuth_old_sum_gammaBinom_shift · 15 lines
public theorem_wanted knuth_old_sum_gammaBinom_shift (m n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * (n.choose k : ℂ) / 2 ^ (k + m) *
gammaBinom (2 * k + 2 * m + v) ((2 * k + 2 * m + v) / 2) *
(gammaBinom (k + m + v) (v / 2))⁻¹ =
if Even n then
∑ k ∈ range (m / 2 + 1),
(m.choose (2 * k) : ℂ) / 2 ^ (n + 2 * k) *
gammaBinom (2 * k + n) ((2 * k + n) / 2) *
(gammaBinom ((2 * k + n + v) / 2) ((2 * k + n) / 2))⁻¹
else
-∑ k ∈ Icc 1 ((m + 1) / 2),
(m.choose (2 * k - 1) : ℂ) / 2 ^ (n + 2 * k - 1) *
gammaBinom (2 * k + n - 1) ((2 * k + n - 1) / 2) *
(gammaBinom ((2 * k + n - 1 + v) / 2) ((2 * k + n - 1) / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 2.
Uses 1
TheoremOne-parameter generalization of Knuth's old sum#●ready to prove
For every natural number \(n\) and every real number \(v > -1\),
equals \(\binom{n}{n/2} 2^{-n} \binom{(n+v)/2}{v/2}^{-1}\) if \(n\) is even and \(0\) if \(n\) is odd. Here \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) is the generalized binomial coefficient of complex arguments, which at natural arguments is the ordinary binomial coefficient.
This is equation (15) of the source.
public theorem_wanted knuth_old_sum_gammaBinom (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * (n.choose k : ℂ) / 2 ^ k *
gammaBinom (2 * k + v) ((2 * k + v) / 2) * (gammaBinom (k + v) (v / 2))⁻¹ =
if Even n then
(n.choose (n / 2) : ℂ) / 2 ^ n * (gammaBinom ((n + v) / 2) (v / 2))⁻¹
else 0
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 1.
Uses 1
TheoremEven-index binomial sum with inverse generalized binomial coefficients#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\), which for natural \(u\), \(w\) is the ordinary binomial coefficient. For every natural number \(n\) and every real \(v > -1\),
This is equation (16) of the source, the case \(n = 0\) of its two-parameter identity (14), whose parameter \(m\) is called \(n\) here.
public theorem_wanted sum_choose_two_mul_inv_gammaBinom (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹ =
1 / 2 ^ n * gammaBinom (2 * n + v) ((2 * n + v) / 2) * (gammaBinom (n + v) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 2.
Uses 1
TheoremOdd-index binomial sum with inverse generalized binomial coefficients#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\), which for natural \(u\), \(w\) is the ordinary binomial coefficient. For every natural number \(n\) and every real \(v > -1\),
This is equation (17) of the source, the case \(n = 1\) of its two-parameter identity (14), whose parameter \(m\) is called \(n\) here.
public theorem_wanted sum_choose_two_mul_sub_one_inv_gammaBinom (n : ℕ) (v : ℝ)
(hv : -1 < v) :
∑ k ∈ Icc 1 ((n + 1) / 2),
(n.choose (2 * k - 1) : ℂ) * 2 ^ n / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹ =
1 / 2 * gammaBinom (2 * n + v + 2) ((2 * n + v + 2) / 2) *
(gammaBinom (n + v + 1) (v / 2))⁻¹ -
gammaBinom (2 * n + v) ((2 * n + v) / 2) * (gammaBinom (n + v) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 2.
Uses 1
TheoremOdd-index binomial sum with odd reciprocal weights#●ready to prove
For every natural number \(n\),
public theorem_wanted sum_choose_odd_div_two_mul_add_one (n : ℕ) :
∑ k ∈ Icc 1 ((n + 1) / 2), (n.choose (2 * k - 1) : ℚ) / (2 * k + 1) =
2 ^ (n + 1) / (n + 2) - 2 ^ n / (n + 1)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 1.
TheoremOdd-index binomial sum of Catalan numbers#●ready to prove
Write \(C_m = \binom{2m}{m}/(m+1)\) for the \(m\)-th Catalan number. For every natural number \(n\),
public theorem_wanted sum_choose_odd_two_pow_mul_catalan (n : ℕ) :
∑ k ∈ Icc 1 ((n + 1) / 2), (n.choose (2 * k - 1) : ℚ) * 2 ^ n / 2 ^ (2 * k) * catalan k =
catalan (n + 2) / 2 - catalan (n + 1)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 1.
TheoremAlternating binomial sum of \(2^{k+m}/(k+m+1)\)#●ready to prove
For all natural numbers \(m\) and \(n\), the rational number \(S = \sum_{k=0}^{n} (-1)^k \binom{n}{k} \frac{2^{k+m}}{k+m+1}\) satisfies
when \(n\) is even, and
when \(n\) is odd.
public theorem_wanted sum_neg_one_pow_choose_two_pow_div_add_one (m n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ k * (n.choose k : ℚ) * 2 ^ (k + m) / (k + m + 1) =
if Even n then ∑ k ∈ range (m / 2 + 1), (m.choose (2 * k) : ℚ) / (2 * k + n + 1)
else -∑ k ∈ Icc 1 ((m + 1) / 2), (m.choose (2 * k - 1) : ℚ) / (2 * k + n)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 2.
TheoremAlternating convolution of central binomial coefficients#●ready to prove
For every natural number \(n\), the integer \(\sum_{k=0}^{n} (-1)^k \binom{2k}{k} \binom{2(n-k)}{n-k}\) equals \(2^n \binom{n}{n/2}\) when \(n\) is even and \(0\) when \(n\) is odd.
public theorem_wanted sum_neg_one_pow_centralBinom_mul_centralBinom (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℤ) ^ k * ((2 * k).choose k : ℤ) * ((2 * (n - k)).choose (n - k)) =
if Even n then 2 ^ n * (n.choose (n / 2) : ℤ) else 0
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 3.
TheoremAlternating convolution of generalized central binomial coefficients#●ready to prove
For every natural number \(n\) and every real \(v > -1\), the sum
equals \(2^n \binom{n}{n/2} \binom{v}{v/2} \binom{(n+v)/2}{v/2}^{-1}\) when \(n\) is even and \(0\) when \(n\) is odd. Here \(\binom{n}{k}\) and \(\binom{n}{n/2}\) are ordinary binomial coefficients and otherwise \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_neg_one_pow_choose_gammaBinom_complement (n : ℕ) (v : ℝ)
(hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * (n.choose k : ℂ) * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
gammaBinom (2 * n - 2 * k + v) ((2 * n - 2 * k + v) / 2) *
(gammaBinom (n + v) ((2 * k + v) / 2))⁻¹ =
if Even n then
2 ^ n * (n.choose (n / 2) : ℂ) * gammaBinom v (v / 2) *
(gammaBinom ((n + v) / 2) (v / 2))⁻¹
else 0
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 5.
Uses 1
TheoremConvolution of generalized central binomial coefficients#●ready to prove
For complex numbers \(u\) and \(w\) write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient, which is the ordinary binomial coefficient at natural arguments. For every natural number \(n\) and every real number \(v > -1\),
public theorem_wanted sum_choose_gammaBinom_convolution (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(n.choose k : ℂ) * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
gammaBinom (2 * n - 2 * k + v) ((2 * n - 2 * k + v) / 2) *
(gammaBinom (n + v) ((2 * k + v) / 2))⁻¹ =
2 ^ (2 * n) * gammaBinom v (v / 2)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 6.
Uses 1
TheoremReciprocal binomial transform of a polynomial identity#●ready to prove
Let \(s, n, m, r\) be natural numbers, \(f, g : \mathbb{N} \to \mathbb{C}\) and \(p, q : \mathbb{N} \to \mathbb{N}\) such that \(\sum_{k=s}^{n} f(k) (1+t)^{p(k)} = \sum_{k=m}^{r} g(k) t^{q(k)}\) for every complex \(t\). Then for all complex numbers \(u, v\) with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\),
where \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_inv_gammaBinom_of_binomial_poly_identity (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(u v : ℂ) (hu : -1 < u.re) (hv : -1 < v.re) :
∑ k ∈ Icc s n, f k * (gammaBinom (p k + u + v + 1) (u + 1))⁻¹ =
(u + 1) / (v + 1) *
∑ k ∈ Icc m r, (-1) ^ q k * g k * (gammaBinom (q k + u + v + 1) (v + 1))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 7.
Uses 1
TheoremShifted central binomial transform of a polynomial identity#●ready to prove
Let \(s, n, m, r\) be natural numbers, \(f, g : \mathbb{N} \to \mathbb{C}\) and \(p, q : \mathbb{N} \to \mathbb{N}\) such that \(\sum_{k=s}^{n} f(k) (1+t)^{p(k)} = \sum_{k=m}^{r} g(k) t^{q(k)}\) for every complex \(t\), and let \(u, v\) be complex numbers with \(\operatorname{Re} v > -1\), \(\operatorname{Re}(2(u-p(j))+v) > -1\) for \(s \le j \le n\) and \(\operatorname{Re}(2(u-q(j))+v) > -1\) for \(m \le j \le r\). Then
where \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_gammaBinom_shift_of_binomial_poly_identity (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(u v : ℂ) (hv : -1 < v.re) (hp : ∀ j ∈ Icc s n, -1 < (2 * (u - p j) + v).re)
(hq : ∀ j ∈ Icc m r, -1 < (2 * (u - q j) + v).re) :
∑ k ∈ Icc s n,
f k * 2 ^ (2 * p k) * gammaBinom (2 * (u - p k) + v) ((2 * (u - p k) + v) / 2) *
(gammaBinom (u - p k + v) (v / 2))⁻¹ =
(gammaBinom v (v / 2))⁻¹ *
∑ k ∈ Icc m r,
g k * gammaBinom (2 * (u - q k) + v) ((2 * (u - q k) + v) / 2) *
gammaBinom (2 * q k + v) ((2 * q k + v) / 2) *
(gammaBinom (u + v) ((2 * q k + v) / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 8.
Uses 1
TheoremShifted central binomial transform of a polynomial identity, dual form#●ready to prove
Let \(s, n, m, r\) be natural numbers, \(f, g : \mathbb{N} \to \mathbb{C}\) and \(p, q : \mathbb{N} \to \mathbb{N}\) such that \(\sum_{k=s}^{n} f(k) (1+t)^{p(k)} = \sum_{k=m}^{r} g(k) t^{q(k)}\) for every complex \(t\), and let \(u, v\) be complex numbers with \(\operatorname{Re} v > -1\), \(\operatorname{Re}(2(u-p(j))+v) > -1\) for \(s \le j \le n\) and \(\operatorname{Re}(2(u-q(j))+v) > -1\) for \(m \le j \le r\). Then
where \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_gammaBinom_shift_of_binomial_poly_identity' (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(u v : ℂ) (hv : -1 < v.re) (hp : ∀ j ∈ Icc s n, -1 < (2 * (u - p j) + v).re)
(hq : ∀ j ∈ Icc m r, -1 < (2 * (u - q j) + v).re) :
∑ k ∈ Icc m r,
(-1) ^ q k * g k * 2 ^ (2 * q k) *
gammaBinom (2 * (u - q k) + v) ((2 * (u - q k) + v) / 2) *
(gammaBinom (u - q k + v) (v / 2))⁻¹ =
(gammaBinom v (v / 2))⁻¹ *
∑ k ∈ Icc s n,
(-1) ^ p k * f k * gammaBinom (2 * (u - p k) + v) ((2 * (u - p k) + v) / 2) *
gammaBinom (2 * p k + v) ((2 * p k + v) / 2) *
(gammaBinom (u + v) ((2 * p k + v) / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 8.
Uses 1
TheoremAlternating reciprocal generalized-binomial sums from a polynomial identity#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient of complex numbers \(u\) and \(w\). Let \(s, n, m, r\) be natural numbers, let \(f, g \colon \mathbb{N} \to \mathbb{C}\) and \(p, q \colon \mathbb{N} \to \mathbb{N}\) satisfy
and let \(u, v\) be complex numbers with \(\operatorname{Re} v > -1\), \(\operatorname{Re} u - p(j) > -1\) for \(s \le j \le n\) and \(\operatorname{Re} u - q(j) > -1\) for \(m \le j \le r\). Then
This is the paper's equation (34) corrected. The paper prints the last binomial as \(\binom{u-q(k)+1}{v+1}\); that is false (for the identity \(1 = 1\), that is \(f = g = 1\) and \(p = q = 0\), at \(u = v = 1\) the left side is \(1/2\) and the printed right side \(3/2\)), and the paper's own proof (integration against \((1-x)^v\) with the Beta integral) gives the reading stated here, which agrees with the printed one at \(v = 0\).
public theorem_wanted sum_neg_one_pow_inv_gammaBinom_of_binomial_poly_identity (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(u v : ℂ) (hv : -1 < v.re) (hp : ∀ j ∈ Icc s n, -1 < u.re - p j)
(hq : ∀ j ∈ Icc m r, -1 < u.re - q j) :
∑ k ∈ Icc s n, (-1) ^ p k * f k * (gammaBinom (u + v) (u - p k))⁻¹ =
(u + v + 1) / (v + 1) *
∑ k ∈ Icc m r, (-1) ^ q k * g k * (gammaBinom (u - q k + v + 1) (v + 1))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 9.
Uses 1
TheoremTwo-parameter generalized-binomial sums from a polynomial identity#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient of complex numbers \(u\) and \(w\). Let \(s, n, m, r\) be natural numbers, let \(f, g \colon \mathbb{N} \to \mathbb{C}\) and \(p, q \colon \mathbb{N} \to \mathbb{N}\) satisfy
and let \(u, v\) be complex numbers with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\). Then
public theorem_wanted sum_two_param_gammaBinom_of_binomial_poly_identity (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(u v : ℂ) (hu : -1 < u.re) (hv : -1 < v.re) :
∑ k ∈ Icc s n,
f k / 2 ^ (2 * p k) * gammaBinom v (v / 2) *
gammaBinom (2 * p k + u) ((2 * p k + u) / 2) *
(gammaBinom ((2 * p k + u + v) / 2) (v / 2))⁻¹ =
∑ k ∈ Icc m r,
(-1) ^ q k * g k / 2 ^ (2 * q k) * gammaBinom u (u / 2) *
gammaBinom (2 * q k + v) ((2 * q k + v) / 2) *
(gammaBinom ((2 * q k + u + v) / 2) (u / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 10.
Uses 1
TheoremCentral binomial transform of a polynomial identity, even exponents at even indices#●ready to prove
Let \(s, n, m, r\) be natural numbers, \(f, g : \mathbb{N} \to \mathbb{C}\) and \(p, q : \mathbb{N} \to \mathbb{N}\) such that \(\sum_{k=s}^{n} f(k) (1+t)^{p(k)} = \sum_{k=m}^{r} g(k) t^{q(k)}\) for every complex \(t\). Suppose that \(q(2j)\) is even whenever \(m \le 2j \le r\) and \(q(2j+1)\) is odd whenever \(m \le 2j+1 \le r\). Then for every complex \(v\) with \(\operatorname{Re} v > -1\),
where \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_gammaBinom_of_binomial_poly_identity_q_even (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(hq_even : ∀ j, 2 * j ∈ Icc m r → Even (q (2 * j)))
(hq_odd : ∀ j, 2 * j + 1 ∈ Icc m r → Odd (q (2 * j + 1)))
(v : ℂ) (hv : -1 < v.re) :
∑ k ∈ Icc s n,
f k / 2 ^ p k * gammaBinom (2 * p k + v) ((2 * p k + v) / 2) *
(gammaBinom (p k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((m + 1) / 2) (r / 2),
g (2 * k) / 2 ^ q (2 * k) * gammaBinom (q (2 * k)) ((q (2 * k) : ℂ) / 2) *
(gammaBinom ((q (2 * k) + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 11, part 1.
Uses 1
TheoremCentral binomial sums from a polynomial identity: right exponents odd at even indices#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\). Let \(s, n, m, r\) be natural numbers, let \(f, g\) be complex-valued functions and \(p, q\) natural-number-valued functions on the natural numbers, and suppose that for every complex \(t\),
Suppose also that \(q(2j)\) is odd whenever \(m \le 2j \le r\), and \(q(2j+1)\) is even whenever \(m \le 2j+1 \le r\). Then for every complex \(v\) with \(\operatorname{Re} v > -1\),
This is equation (37) of the source.
public theorem_wanted sum_gammaBinom_of_binomial_poly_identity_q_odd (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(hq_odd : ∀ j, 2 * j ∈ Icc m r → Odd (q (2 * j)))
(hq_even : ∀ j, 2 * j + 1 ∈ Icc m r → Even (q (2 * j + 1)))
(v : ℂ) (hv : -1 < v.re) :
∑ k ∈ Icc s n,
f k / 2 ^ p k * gammaBinom (2 * p k + v) ((2 * p k + v) / 2) *
(gammaBinom (p k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((m + 2) / 2) ((r + 1) / 2),
g (2 * k - 1) / 2 ^ q (2 * k - 1) *
gammaBinom (q (2 * k - 1)) ((q (2 * k - 1) : ℂ) / 2) *
(gammaBinom ((q (2 * k - 1) + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 11, part 1.
Uses 1
TheoremCentral binomial sums from a polynomial identity: left exponents even at even indices#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\). Let \(s, n, m, r\) be natural numbers, let \(f, g\) be complex-valued functions and \(p, q\) natural-number-valued functions on the natural numbers, and suppose that for every complex \(t\),
Suppose also that \(p(2j)\) is even whenever \(s \le 2j \le n\), and \(p(2j+1)\) is odd whenever \(s \le 2j+1 \le n\). Then for every complex \(v\) with \(\operatorname{Re} v > -1\),
This is equation (38) of the source.
public theorem_wanted sum_gammaBinom_of_binomial_poly_identity_p_even (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(hp_even : ∀ j, 2 * j ∈ Icc s n → Even (p (2 * j)))
(hp_odd : ∀ j, 2 * j + 1 ∈ Icc s n → Odd (p (2 * j + 1)))
(v : ℂ) (hv : -1 < v.re) :
∑ k ∈ Icc m r,
g k * (-1) ^ q k / 2 ^ q k * gammaBinom (2 * q k + v) ((2 * q k + v) / 2) *
(gammaBinom (q k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((s + 1) / 2) (n / 2),
(-1) ^ p (2 * k) * f (2 * k) / 2 ^ p (2 * k) *
gammaBinom (p (2 * k)) ((p (2 * k) : ℂ) / 2) *
(gammaBinom ((p (2 * k) + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 11, part 2.
Uses 1
TheoremCentral binomial sums from a polynomial identity: left exponents odd at even indices#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\). Let \(s, n, m, r\) be natural numbers, let \(f, g\) be complex-valued functions and \(p, q\) natural-number-valued functions on the natural numbers, and suppose that for every complex \(t\),
Suppose also that \(p(2j)\) is odd whenever \(s \le 2j \le n\), and \(p(2j+1)\) is even whenever \(s \le 2j+1 \le n\). Then for every complex \(v\) with \(\operatorname{Re} v > -1\),
This is equation (39) of the source.
public theorem_wanted sum_gammaBinom_of_binomial_poly_identity_p_odd (s n m r : ℕ)
(f g : ℕ → ℂ) (p q : ℕ → ℕ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ p k = ∑ k ∈ Icc m r, g k * t ^ q k)
(hp_odd : ∀ j, 2 * j ∈ Icc s n → Odd (p (2 * j)))
(hp_even : ∀ j, 2 * j + 1 ∈ Icc s n → Even (p (2 * j + 1)))
(v : ℂ) (hv : -1 < v.re) :
∑ k ∈ Icc m r,
g k * (-1) ^ q k / 2 ^ q k * gammaBinom (2 * q k + v) ((2 * q k + v) / 2) *
(gammaBinom (q k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((s + 2) / 2) ((n + 1) / 2),
(-1) ^ p (2 * k - 1) * f (2 * k - 1) / 2 ^ p (2 * k - 1) *
gammaBinom (p (2 * k - 1)) ((p (2 * k - 1) : ℂ) / 2) *
(gammaBinom ((p (2 * k - 1) + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 11, part 2.
Uses 1
TheoremCentral binomial transform of a polynomial identity with exponents \(k\)#●ready to prove
Let \(s, n, m, r\) be natural numbers and \(f, g : \mathbb{N} \to \mathbb{C}\) such that \(\sum_{k=s}^{n} f(k) (1+t)^{k} = \sum_{k=m}^{r} g(k) t^{k}\) for every complex \(t\). Then for every real \(v > -1\),
where \(\binom{2k}{k}\) is the central binomial coefficient and otherwise \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_gammaBinom_of_poly_identity (s n m r : ℕ) (f g : ℕ → ℂ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ k = ∑ k ∈ Icc m r, g k * t ^ k)
(v : ℝ) (hv : -1 < v) :
∑ k ∈ Icc s n,
f k / 2 ^ k * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((m + 1) / 2) (r / 2),
g (2 * k) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 3.
Uses 1
TheoremAlternating companion of a generalized-binomial sum from a polynomial identity in \(1+t\)#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient of complex numbers \(u\) and \(w\). Let \(s, n, m, r\) be natural numbers and let \(f, g \colon \mathbb{N} \to \mathbb{C}\) satisfy
Then for every real number \(v > -1\),
public theorem_wanted sum_neg_one_pow_gammaBinom_of_poly_identity (s n m r : ℕ)
(f g : ℕ → ℂ)
(hP : ∀ t : ℂ, ∑ k ∈ Icc s n, f k * (1 + t) ^ k = ∑ k ∈ Icc m r, g k * t ^ k)
(v : ℝ) (hv : -1 < v) :
∑ k ∈ Icc m r,
g k * (-1) ^ k / 2 ^ k * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ Icc ((s + 1) / 2) (n / 2),
f (2 * k) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 3.
Uses 1
TheoremPolynomial identity for reciprocal generalized binomial coefficients#●ready to prove
For every natural number \(n\) and all complex numbers \(u, v, x\) with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\),
where \(\binom{n}{k}\) is the ordinary binomial coefficient and otherwise \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_inv_gammaBinom_one_sub_pow (n : ℕ) (u v x : ℂ) (hu : -1 < u.re)
(hv : -1 < v.re) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) * (gammaBinom (k + u + v + 1) (u + 1))⁻¹ *
(1 - x) ^ (n - k) =
(u + 1) / (v + 1) *
∑ k ∈ range (n + 1),
(-1) ^ k * (n.choose k : ℂ) * (gammaBinom (k + u + v + 1) (v + 1))⁻¹ * x ^ (n - k)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 12.
Uses 1
TheoremGeneralized central binomial polynomial identity, alternating form#●ready to prove
Let \(\binom{a}{b}\) denote the generalized binomial coefficient \(\Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\). For every natural number \(n\), every real \(v > -1\) and every complex \(x\),
public theorem_wanted knuth_poly_gammaBinom_one_sub_pow (n : ℕ) (v : ℝ) (hv : -1 < v)
(x : ℂ) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) / 2 ^ k * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ * (1 - x) ^ (n - k) =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹ * x ^ (n - 2 * k)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 13.
Uses 1
TheoremAlternating polynomial identity in \(1 - x\) with weights \(2^k/(k+1)\)#●ready to prove
For every natural number \(n\) and every complex number \(x\),
This is equation (45) of the source.
public theorem_wanted sum_choose_two_pow_div_succ_one_sub_pow (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1), (-1) ^ (n - k) * (n.choose k : ℂ) * 2 ^ k / (k + 1) * (1 - x) ^ (n - k) =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℂ) / (2 * k + 1) * x ^ (n - 2 * k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 4.
TheoremA polynomial identity for weighted central binomial coefficients#●ready to prove
For every natural number \(n\) and every complex number \(x\),
public theorem_wanted sum_choose_centralBinom_succ_one_sub_pow (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) / (k + 2) / 2 ^ k * ((2 * (k + 1)).choose (k + 1) : ℂ) *
(1 - x) ^ (n - k) =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / (k + 1) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) * x ^ (n - 2 * k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 4.
TheoremA two-parameter polynomial identity for generalized central binomial coefficients#●ready to prove
Write \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) for the generalized binomial coefficient of complex numbers \(a, b\). For every natural number \(n\) and all complex numbers \(u, v, x\) with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\),
public theorem_wanted two_param_poly_gammaBinom_one_sub_pow (n : ℕ) (u v x : ℂ)
(hu : -1 < u.re) (hv : -1 < v.re) :
gammaBinom v (v / 2) *
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) / 2 ^ (2 * k) *
gammaBinom (2 * k + u) ((2 * k + u) / 2) *
(gammaBinom ((2 * k + u + v) / 2) (v / 2))⁻¹ * (1 - x) ^ (n - k) =
gammaBinom u (u / 2) *
∑ k ∈ range (n + 1),
(-1) ^ k * (n.choose k : ℂ) / 2 ^ (2 * k) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom ((2 * k + u + v) / 2) (u / 2))⁻¹ * x ^ (n - k)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 14.
Uses 1
TheoremReflection symmetry of the central binomial polynomial sum#●ready to prove
For every natural number \(n\) and every complex \(x\),
public theorem_wanted sum_centralBinom_choose_one_sub_pow_symm (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * ((2 * k).choose k : ℂ) / 2 ^ (2 * k) * (n.choose k : ℂ) *
(1 - x) ^ (n - k) =
∑ k ∈ range (n + 1),
(-1) ^ k * ((2 * k).choose k : ℂ) / 2 ^ (2 * k) * (n.choose k : ℂ) * x ^ (n - k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 5.
TheoremReflection symmetry of the Catalan polynomial sum#●ready to prove
Let \(C_m = \binom{2m}{m}/(m+1)\) denote the \(m\)-th Catalan number. For every natural number \(n\) and every complex \(x\),
public theorem_wanted sum_catalan_succ_choose_one_sub_pow_symm (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) / 2 ^ (2 * k) * (n.choose k : ℂ) * (catalan (k + 1) : ℂ) *
(1 - x) ^ (n - k) =
∑ k ∈ range (n + 1),
(-1) ^ k / 2 ^ (2 * k) * (n.choose k : ℂ) * (catalan (k + 1) : ℂ) * x ^ (n - k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 5.
TheoremGeneralized central binomial polynomial identity, Bernstein form#●ready to prove
Let \(\binom{a}{b}\) denote the generalized binomial coefficient \(\Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\). For every natural number \(n\), every real \(v > -1\) and every complex \(x\),
public theorem_wanted knuth_poly_gammaBinom_mul_pow (n : ℕ) (v : ℝ) (hv : -1 < v) (x : ℂ) :
∑ k ∈ range (n + 1),
(n.choose k : ℂ) / 2 ^ k * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ * (1 - x) ^ k * x ^ (n - k) =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹ * (1 - x) ^ (2 * k)
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 15.
Uses 1
TheoremCentral binomial polynomial identity, Bernstein form#●ready to prove
For every natural number \(n\) and every complex \(x\),
public theorem_wanted sum_choose_centralBinom_one_sub_pow_mul_pow (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1),
(n.choose k : ℂ) / 2 ^ k * ((2 * k).choose k : ℂ) * (1 - x) ^ k * x ^ (n - k) =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) * (1 - x) ^ (2 * k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 6.
TheoremPolynomial identity in \(x\) and \(1 - x\) with weights \(2^k/(k+1)\)#●ready to prove
For every natural number \(n\) and every complex number \(x\),
This is equation (53) of the source.
public theorem_wanted sum_choose_two_pow_div_succ_one_sub_pow_mul_pow (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1), (n.choose k : ℂ) * 2 ^ k / (k + 1) * (1 - x) ^ k * x ^ (n - k) =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℂ) / (2 * k + 1) * (1 - x) ^ (2 * k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 6.
TheoremCatalan polynomial identity, Bernstein form#●ready to prove
Let \(C_m = \binom{2m}{m}/(m+1)\) denote the \(m\)-th Catalan number. For every natural number \(n\) and every complex \(x\),
public theorem_wanted sum_choose_catalan_succ_one_sub_pow_mul_pow (n : ℕ) (x : ℂ) :
∑ k ∈ range (n + 1),
(n.choose k : ℂ) / 2 ^ k * (catalan (k + 1) : ℂ) * (1 - x) ^ k * x ^ (n - k) =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * (catalan k : ℂ) * (1 - x) ^ (2 * k)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Corollary 6.
TheoremAlternating sum of reciprocal generalized binomial coefficients#●ready to prove
For every natural number \(n\) and all complex numbers \(u, v\) with \(\operatorname{Re} u > -1\) and \(\operatorname{Re} v > -1\),
where \(\binom{n}{k}\) is the ordinary binomial coefficient and otherwise \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\) is the generalized binomial coefficient of complex numbers \(a, b\).
public theorem_wanted sum_neg_one_pow_choose_inv_gammaBinom (n : ℕ) (u v : ℂ)
(hu : -1 < u.re) (hv : -1 < v.re) :
∑ k ∈ range (n + 1), (-1) ^ k * (n.choose k : ℂ) * (gammaBinom (k + u + v + 1) (u + 1))⁻¹ =
(u + 1) / (v + 1) * (gammaBinom (n + u + v + 1) (v + 1))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 16.
Uses 1
TheoremOne-parameter extension of the alternating sum of \(\binom{n}{k} 2^{n-2k} \binom{2k}{k}\)#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient of complex numbers \(u\) and \(w\). For every natural number \(n\) and every real number \(v > -1\), the following identity holds in \(\mathbb{C}\):
public theorem_wanted sum_neg_one_pow_choose_two_pow_gammaBinom (n : ℕ) (v : ℝ)
(hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1) ^ k * (n.choose k : ℂ) * 2 ^ n / 2 ^ (2 * k) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) * (gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 17.
Uses 1
TheoremBinomial transform of generalized central binomial ratios#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\), which for natural \(u\), \(w\) is the ordinary binomial coefficient. For every natural number \(n\) and every real \(v > -1\),
public theorem_wanted sum_choose_two_pow_gammaBinom (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(n.choose k : ℂ) / 2 ^ k * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) * 2 ^ n / 2 ^ (4 * k) * ((2 * k).choose k : ℂ) *
(gammaBinom ((2 * k + v) / 2) k)⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 17.
Uses 1
TheoremAlternating sum of \(\binom{n}{k} 2^{n-2k} \binom{2k}{k}\)#●ready to prove
For every natural number \(n\), the following identity holds in \(\mathbb{Q}\):
public theorem_wanted sum_neg_one_pow_choose_two_pow_centralBinom (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ k * (n.choose k : ℚ) * 2 ^ n / 2 ^ (2 * k) *
((2 * k).choose k : ℚ) =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) / 2 ^ (2 * k) * ((2 * k).choose k : ℚ)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 3.
TheoremEven-index against odd-index reciprocal binomial sums#●ready to prove
For every natural number \(n \ge 1\),
public theorem_wanted sum_choose_even_div_eq_sum_choose_odd_div (n : ℕ) (hn : n ≠ 0) :
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) / (2 * k + 1) =
2 ^ (n - 1) / (2 ^ n - 1) * ∑ k ∈ Icc 1 ((n + 1) / 2), (n.choose (2 * k - 1) : ℚ) / k
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 3.
TheoremAlternating binomial sum of Catalan numbers#●ready to prove
For every natural number \(n\), in the rational numbers
where \(C_k = \binom{2k}{k}/(k+1)\) is the \(k\)-th Catalan number.
public theorem_wanted sum_neg_one_pow_choose_two_pow_catalan (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ k * (n.choose k : ℚ) * (2 * k + 1) / (k + 2) *
2 ^ (n + 1) / 2 ^ (2 * k) * catalan k =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) / 2 ^ (2 * k) * catalan k
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 3.
TheoremEven-index binomial sum equal to a scaled central binomial coefficient#●ready to prove
For every natural number \(n\),
public theorem_wanted sum_choose_even_centralBinom_div_four_pow (n : ℕ) :
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) / 2 ^ (2 * k) * ((2 * k).choose k : ℚ) =
((2 * n).choose n : ℚ) / 2 ^ n
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 4.
TheoremEven-index binomial sum with odd reciprocal weights#●ready to prove
For every natural number \(n\),
public theorem_wanted sum_choose_even_div_two_mul_add_one (n : ℕ) :
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) / (2 * k + 1) = 2 ^ n / (n + 1)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 4.
TheoremEven-index binomial sum of weighted central binomial coefficients#●ready to prove
Write \(C_m = \binom{2m}{m}/(m+1)\) for the \(m\)-th Catalan number. For every natural number \(n\),
public theorem_wanted sum_choose_even_centralBinom_div_succ (n : ℕ) :
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℚ) / (k + 1) / 2 ^ (2 * k) * ((2 * k).choose k : ℚ) =
2 / 2 ^ n / (n + 2) * (2 * n + 1) * catalan n
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 4.
TheoremEven-index expansion of a weighted central binomial sum#●ready to prove
For every natural number \(n\),
public theorem_wanted sum_choose_centralBinom_div_two_pow (n : ℕ) :
∑ k ∈ range (n + 1), (n.choose k : ℚ) / 2 ^ k * ((2 * k).choose k : ℚ) =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) * 2 ^ n / 2 ^ (4 * k) * ((2 * k).choose k : ℚ)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 5.
TheoremEven-index and odd-index binomial sums weighted by powers of \(2\)#●ready to prove
For every natural number \(n\),
public theorem_wanted sum_choose_even_two_pow_sub_div (n : ℕ) :
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℚ) * (2 ^ (n + 1) / 2 ^ (2 * k) - 2 ^ (2 * k + 1)) / (2 * k + 1) =
∑ k ∈ Icc 1 ((n + 1) / 2), (n.choose (2 * k - 1) : ℚ) * 2 ^ (2 * k - 1) / k
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 5.
TheoremBinomial transform of weighted Catalan numbers#●ready to prove
Write \(C_m = \binom{2m}{m}/(m+1)\) for the \(m\)-th Catalan number. For every natural number \(n\),
public theorem_wanted sum_choose_two_mul_add_one_div_catalan (n : ℕ) :
∑ k ∈ range (n + 1), (n.choose k : ℚ) * (2 * k + 1) / (k + 2) * 2 / 2 ^ k * catalan k =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) * 2 ^ n / 2 ^ (4 * k) * catalan k
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 5.
TheoremOne-parameter extension of the alternating sum of \(\binom{n}{k} \binom{2k}{k}\)#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\,\Gamma(u-w+1))\) for the generalized binomial coefficient of complex numbers \(u\) and \(w\). For every natural number \(n\) and every real number \(v > -1\), the following identity holds in \(\mathbb{C}\):
public theorem_wanted sum_neg_one_pow_sub_choose_gammaBinom (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) * ((2 * k).choose k : ℂ) * (gammaBinom ((2 * k + v) / 2) k)⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 18.
Uses 1
TheoremAlternating sum of \(\binom{n}{k} \binom{2k}{k}\)#●ready to prove
For every natural number \(n\),
as integers.
Both sides are the central trinomial coefficient.
public theorem_wanted sum_neg_one_pow_sub_choose_centralBinom (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℤ) ^ (n - k) * (n.choose k : ℤ) * ((2 * k).choose k : ℤ) =
∑ k ∈ range (n / 2 + 1), (n.choose k : ℤ) * ((n - k).choose k : ℤ)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 6.
TheoremAlternating sum of \(\binom{n}{k} 2^{2k}/(k+1)\)#●ready to prove
For every natural number \(n\), the following identity holds in \(\mathbb{Q}\):
public theorem_wanted sum_neg_one_pow_sub_choose_four_pow_div_succ (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ (n - k) * (n.choose k : ℚ) * 2 ^ (2 * k) / (k + 1) =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) * 2 ^ (2 * k) / (2 * k + 1)
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 6.
TheoremAlternating sum of \(\binom{n}{k} \frac{2(2k+1)}{k+2} C_k\)#●ready to prove
Let \(C_k = \frac{1}{k+1}\binom{2k}{k}\) denote the \(k\)-th Catalan number. For every natural number \(n\), the following identity holds in \(\mathbb{Q}\):
public theorem_wanted sum_neg_one_pow_sub_choose_catalan (n : ℕ) :
∑ k ∈ range (n + 1), (-1 : ℚ) ^ (n - k) * (n.choose k : ℚ) * (2 * (2 * k + 1)) / (k + 2) *
catalan k =
∑ k ∈ range (n / 2 + 1), (n.choose (2 * k) : ℚ) * catalan k
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 6.
TheoremEven-index identity for generalized central binomial coefficients#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\), which for natural \(u\), \(w\) is the ordinary binomial coefficient. For every natural number \(n\) and every real \(v > -1\),
This is equation (56) of the source.
public theorem_wanted sum_choose_two_mul_gammaBinom_even (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
((2 * n).choose (2 * k) : ℂ) * ((2 * (n - k)).choose (n - k) : ℂ) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom ((2 * n + v) / 2) ((n : ℂ) - k))⁻¹ =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) * 2 ^ (2 * n - 2 * k) * ((2 * k).choose k : ℂ) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) * (gammaBinom ((4 * k + v) / 2) k)⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 19.
Uses 1
TheoremOdd-index identity for generalized central binomial coefficients#●ready to prove
Write \(\binom{u}{w} = \Gamma(u+1)/(\Gamma(w+1)\Gamma(u-w+1))\) for the generalized binomial coefficient of complex \(u\), \(w\), which for natural \(u\), \(w\) is the ordinary binomial coefficient. For every natural number \(n\) and every real \(v > -1\),
This is equation (57) of the source.
public theorem_wanted sum_choose_two_mul_sub_one_gammaBinom_odd (n : ℕ) (v : ℝ)
(hv : -1 < v) :
∑ k ∈ Icc 1 n,
((2 * n).choose (2 * k - 1) : ℂ) * ((2 * (n - k + 1)).choose (n - k + 1) : ℂ) *
gammaBinom (2 * k - 1 + v) ((2 * k - 1 + v) / 2) *
(gammaBinom ((2 * n + v + 1) / 2) ((n : ℂ) - k + 1))⁻¹ =
∑ k ∈ Icc 1 ((n + 1) / 2),
(n.choose (2 * k - 1) : ℂ) * 2 ^ (2 * n + 1 - 2 * k) * ((2 * k).choose k : ℂ) *
gammaBinom (2 * k - 1 + v) ((2 * k - 1 + v) / 2) *
(gammaBinom ((4 * k + v - 1) / 2) k)⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 19.
Uses 1
TheoremWaring-type sum of generalized central binomial coefficients#●ready to prove
Write \(\binom{a}{b} = \Gamma(a+1)/(\Gamma(b+1)\,\Gamma(a-b+1))\) for the generalized binomial coefficient. For every integer \(n \ge 1\) and every real number \(v > -1\),
The paper states this for every non-negative integer \(n\), but at \(n = 0\) the factor \(n/(n-k)\) is \(0/0\), and the paper derives the identity from Waring's formula, which it states for positive \(n\) only.
public theorem_wanted waring_sum_gammaBinom (n : ℕ) (hn : 0 < n) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n / 2 + 1),
(-1) ^ k * (n : ℂ) / ((n : ℂ) - k) * ((n - k).choose k : ℂ) / 2 ^ (4 * k) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) =
gammaBinom (2 * n + v) ((2 * n + v) / 2) * gammaBinom v (v / 2) * 2 / 2 ^ (2 * n) *
(gammaBinom (n + v) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Theorem 20.
Uses 1
TheoremSimons-type identity for generalized central binomial coefficients#●ready to prove
Let \(\binom{a}{b}\) denote the generalized binomial coefficient \(\Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\). For every natural number \(n\) and every real \(v > -1\),
public theorem_wanted simons_sum_gammaBinom (n : ℕ) (v : ℝ) (hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) / 2 ^ k * ((n + k).choose k : ℂ) *
gammaBinom (2 * k + v) ((2 * k + v) / 2) * (gammaBinom (k + v) (v / 2))⁻¹ =
∑ k ∈ range (n / 2 + 1),
(n.choose (2 * k) : ℂ) / 2 ^ (2 * k) * ((n + 2 * k).choose (2 * k) : ℂ) *
((2 * k).choose k : ℂ) * (gammaBinom ((2 * k + v) / 2) (v / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 7.
Uses 1
TheoremTwo-parameter Simons-type symmetry#●ready to prove
Let \(\binom{a}{b}\) denote the generalized binomial coefficient \(\Gamma(a+1)/(\Gamma(b+1)\Gamma(a-b+1))\). For every natural number \(n\) and all real \(u > -1\) and \(v > -1\),
public theorem_wanted simons_two_param_gammaBinom (n : ℕ) (u v : ℝ) (hu : -1 < u)
(hv : -1 < v) :
∑ k ∈ range (n + 1),
(-1) ^ (n - k) * (n.choose k : ℂ) / 2 ^ (2 * k) * ((n + k).choose k : ℂ) *
gammaBinom v (v / 2) * gammaBinom (2 * k + u) ((2 * k + u) / 2) *
(gammaBinom ((2 * k + u + v) / 2) (v / 2))⁻¹ =
∑ k ∈ range (n + 1),
(-1) ^ k * (n.choose k : ℂ) / 2 ^ (2 * k) * ((n + k).choose k : ℂ) *
gammaBinom u (u / 2) * gammaBinom (2 * k + v) ((2 * k + v) / 2) *
(gammaBinom ((2 * k + u + v) / 2) (u / 2))⁻¹
public noncomputable def gammaBinom (u v : ℂ) : ℂ :=
Complex.Gamma (u + 1) / (Complex.Gamma (v + 1) * Complex.Gamma (u - v + 1))
WantedExt/Combinatorics/Enumerative/KnuthOldSumWanted.lean:47
Sources
- Kunle Adegoke, A Short Proof of Knuth's Old Sum, Generalizations and Related Sums, INTEGERS 26 (2026), Article A19, Proposition 8.
Uses 1
DefinitionWeight in Knuth's old sum#✓fully proved
For a natural number \(m\), the weight \(w(m)\) is the rational number \((4^m + 2^m)/2\), which equals \((2^m + 1) 2^{m-1}\).
It is the number of words of length \(m\) over a four-letter alphabet in which a fixed letter occurs an even number of times.
def knuthOldSumWeight (m : ℕ) : ℚ := ((4 : ℚ) ^ m + (2 : ℚ) ^ m) / 2
TheoremCounting words with an even number of \(a\)'s#●ready to prove
For every natural number \(n\), the number of words of length \(n\) over the four-letter alphabet \(\{a, b, c, d\}\) in which the letter \(a\) occurs an even number of times is \((4^n + 2^n)/2\).
theorem_wanted card_evenACount_words (n : ℕ) :
Nat.card {w : Fin n → Fin 4 //
Even (Finset.univ.filter (fun i => w i = 0)).card} =
(4 ^ n + 2 ^ n) / 2
Sources
- Akalu Tefera and Aklilu Zeleke, "Combinatorial Identities Inspired by Knuth's Old Sum", Lemma 1.
TheoremTefera–Zeleke identity with binomial quotients#●ready to prove
Let \(n\) and \(j\) be natural numbers, let \(N = n + 2j + 1\), and let \(w(m) = (4^m + 2^m)/2\) be the weight in Knuth's old sum. Then, in the rational numbers,
This is Equation (1) of the paper, whose weight \((2^m + 1) 2^{m-1}\) is written here as \((4^m + 2^m)/2\).
theorem_wanted knuthOldSum_eq_mul_sum_div (n j : ℕ) :
(∑ k ∈ Finset.range (n + 1),
(Nat.choose (n + 2 * j + 1) (n - k) : ℚ) *
knuthOldSumWeight (n - k) * (-1 : ℚ) ^ k) =
(Nat.choose (n + 2 * j + 1) n : ℚ) *
∑ k ∈ Finset.range (n + 1),
((Nat.choose n k : ℚ) /
(Nat.choose (2 * j + 1 + k) (2 * j + 1) : ℚ)) *
knuthOldSumWeight (n - k) * (-1 : ℚ) ^ k
def knuthOldSumWeight (m : ℕ) : ℚ := ((4 : ℚ) ^ m + (2 : ℚ) ^ m) / 2
WantedExt/Combinatorics/KnuthOldSumWanted.lean:45
Sources
- Akalu Tefera and Aklilu Zeleke, "Combinatorial Identities Inspired by Knuth's Old Sum", Theorem 1.
Uses 1
TheoremTefera–Zeleke identity with powers of \(2\), \(3\) and \(4\)#●ready to prove
Let \(n\) and \(j\) be natural numbers, let \(N = n + 2j + 1\), and let \(w(m) = (4^m + 2^m)/2\) be the weight in Knuth's old sum. Then, in the rational numbers,
This is Equation (2) of the paper, which prints the weight as \((2^m + 1) 2^{m-1}\) and the terms on the right as \(\binom{2j+k}{k} 2^{k-1} (1 + 2^k 3^{n-k})\).
theorem_wanted knuthOldSum_eq_sum_pow (n j : ℕ) :
(∑ k ∈ Finset.range (n + 1),
(Nat.choose (n + 2 * j + 1) (n - k) : ℚ) *
knuthOldSumWeight (n - k) * (-1 : ℚ) ^ k) =
∑ k ∈ Finset.range (n + 1),
(Nat.choose (2 * j + k) k : ℚ) *
(((2 : ℚ) ^ k + (4 : ℚ) ^ k * (3 : ℚ) ^ (n - k)) / 2)
def knuthOldSumWeight (m : ℕ) : ℚ := ((4 : ℚ) ^ m + (2 : ℚ) ^ m) / 2
WantedExt/Combinatorics/KnuthOldSumWanted.lean:45
Sources
- Akalu Tefera and Aklilu Zeleke, "Combinatorial Identities Inspired by Knuth's Old Sum", Theorem 2.
Uses 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.