Central binomial sums with harmonic numbers
DefinitionWeighted central binomial sum#✓fully proved
For a sequence \(a = (a_k)_{k \ge 0}\) of rational numbers and natural numbers \(r\) and \(n\), the weighted central binomial sum is the rational number
with the convention \(0^0 = 1\).
Taking \(a_k = 1\), \(a_k = O_k\) (the odd harmonic numbers), \(a_k = H_k\) and \(a_k = H_{2k}\) (the harmonic numbers) gives the paper's sums \(S_r(n)\), \(S_r^O(n)\), \(S_r^H(n)\) and \(S_r^{2H}(n)\).
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, equations (1), (8), (9), (10).
Used by 8
TheoremThe weighted central binomial sum at zero#✓fully proved
For every sequence \(a\) of rational numbers and every natural number \(r\), the weighted central binomial sum \(S_r^a(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r a_k\) satisfies \(S_r^a(0) = 0^r a_0\), with the convention \(0^0 = 1\).
public theorem centralBinomPowSum_zero (a : ℕ → ℚ) (r : ℕ) :
centralBinomPowSum a r 0 = (0 : ℚ) ^ r * a 0
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, equations (1), (8)-(10).
Uses 1
TheoremAdding one term to the weighted central binomial sum#✓fully proved
For every sequence \(a\) of rational numbers and all natural numbers \(r\) and \(n\), the weighted central binomial sum \(S_r^a(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r a_k\) (with \(0^0 = 1\)) satisfies
public theorem centralBinomPowSum_succ (a : ℕ → ℚ) (r n : ℕ) :
centralBinomPowSum a r (n + 1) =
centralBinomPowSum a r n +
((n + 1).centralBinom : ℚ) / 4 ^ (n + 1) * ((n + 1 : ℕ) : ℚ) ^ r * a (n + 1)
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, equations (1), (8)-(10).
Uses 1
TheoremRecurrence for central binomial sums with odd harmonic numbers#●ready to prove
For a natural number \(n\), let \(O_m = \sum_{i=1}^{m} 1/(2i-1)\) be the odd harmonic numbers, \(c_n = \binom{2n}{n}/4^n\), and for natural \(r\) let \(S_r(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r\) and \(S_r^O(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r O_k\), with \(0^0 = 1\). Then
and for every \(r \ge 1\)
public theorem_wanted centralBinomPowSum_oddHarmonic_recursion (n : ℕ) :
centralBinomPowSum oddHarmonic 0 n =
(n.centralBinom : ℚ) / 4 ^ n * ((2 * n + 1) * oddHarmonic n - 2 * n) ∧
∀ r : ℕ, 1 ≤ r →
(2 * r + 1) * centralBinomPowSum oddHarmonic r n =
(n : ℚ) ^ r * ((n.centralBinom : ℚ) / 4 ^ n) * ((2 * n + 1) * oddHarmonic n + 1) -
centralBinomPowSum 1 r n +
2 * ∑ j ∈ Icc 1 (r - 1),
((r.choose (j + 1) : ℕ) : ℚ) * (-1) ^ (j + 1) *
centralBinomPowSum oddHarmonic (r - j) n
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 1.
Uses 2
TheoremRecurrence for central binomial sums with harmonic numbers#●ready to prove
For a natural number \(n\), let \(H_m = \sum_{i=1}^{m} 1/i\) be the harmonic numbers, \(c_n = \binom{2n}{n}/4^n\), and for natural \(r\) let \(S_r(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r\) and \(S_r^H(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r H_k\), with \(0^0 = 1\). Then
and for every \(r \ge 1\)
public theorem_wanted centralBinomPowSum_harmonic_recursion (n : ℕ) :
centralBinomPowSum harmonic 0 n =
(2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) * (harmonic n - 2) + 2 ∧
∀ r : ℕ, 1 ≤ r →
(2 * r + 1) * centralBinomPowSum harmonic r n =
(n : ℚ) ^ r * (2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) * (harmonic n + 1) +
2 * (-1) ^ r - centralBinomPowSum 1 r n +
2 * ∑ j ∈ Icc 1 (r - 1),
((r.choose (j + 1) : ℕ) : ℚ) * (-1) ^ (j + 1) * centralBinomPowSum harmonic (r - j) n -
2 * ∑ j ∈ range (r + 1),
(((r + 1).choose j : ℕ) : ℚ) * (-1) ^ (r - j) * centralBinomPowSum 1 j n
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 2.
Uses 1
TheoremRecurrence for central binomial sums with harmonic numbers of even index#●ready to prove
For a natural number \(n\), let \(H_m = \sum_{i=1}^{m} 1/i\) be the harmonic numbers, \(c_n = \binom{2n}{n}/4^n\), and for natural \(r\) let \(S_r(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r\) and \(S_r^{2H}(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r H_{2k}\), with \(0^0 = 1\). Then
for every \(r \ge 1\)
and
MetaMathlibExt.centralBinomPowSum_harmonic_two_mul_recursion · 16 lines
public theorem_wanted centralBinomPowSum_harmonic_two_mul_recursion (n : ℕ) :
centralBinomPowSum (fun k => harmonic (2 * k)) 0 n =
(n.centralBinom : ℚ) / 4 ^ n * ((2 * n + 1) * harmonic (2 * n) - (4 * n + 1)) + 1 ∧
(∀ r : ℕ, 1 ≤ r →
(2 * r + 1) * centralBinomPowSum (fun k => harmonic (2 * k)) r n =
(n : ℚ) ^ r * ((n.centralBinom : ℚ) / 4 ^ n) *
((2 * n + 1) * harmonic (2 * n) + n + 3 / 2) +
(-1) ^ r - 3 / 2 * centralBinomPowSum 1 r n +
2 * ∑ j ∈ Icc 1 (r - 1),
((r.choose (j + 1) : ℕ) : ℚ) * (-1) ^ (j + 1) *
centralBinomPowSum (fun k => harmonic (2 * k)) (r - j) n -
∑ j ∈ range (r + 1),
(((r + 1).choose j : ℕ) : ℚ) * (-1) ^ (r - j) * centralBinomPowSum 1 j n) ∧
centralBinomPowSum (fun k => harmonic (2 * k)) 1 n =
1 / 9 * ((n.centralBinom : ℚ) / 4 ^ n) *
(3 * n * (2 * n + 1) * harmonic (2 * n) - 4 * n ^ 2 + 7 * n + 3) - 1 / 3
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 3.
Uses 1
TheoremOdd harmonic central binomial sums for powers one to three#●ready to prove
For every natural number \(n\), let \(O_m = \sum_{i=1}^{m} 1/(2i-1)\) be the odd harmonic numbers, \(c_n = \binom{2n}{n}/4^n\), and \(S_r^O(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r O_k\). Then
public theorem_wanted centralBinomPowSum_oddHarmonic_one_two_three (n : ℕ) :
centralBinomPowSum oddHarmonic 1 n =
(2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) * (n / 3) * (oddHarmonic (n + 1) - 1 / 3) ∧
centralBinomPowSum oddHarmonic 2 n =
(2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) * (n / 15) *
((3 * n + 2) * oddHarmonic (n + 1) - (9 * n + 16) / 15) ∧
centralBinomPowSum oddHarmonic 3 n =
(2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) * (n / 105) *
((15 * n ^ 2 + 18 * n + 2) * oddHarmonic (n + 1) -
(225 * n ^ 2 + 648 * n + 352) / 105)
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Corollary 1.
Uses 2
TheoremCentral binomial sums with harmonic numbers for powers one to three#●ready to prove
For every natural number \(n\), let \(H_m = \sum_{i=1}^{m} 1/i\) be the harmonic numbers, \(c_n = \binom{2n}{n}/4^n\), and \(S_r^H(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r H_k\). Then
public theorem_wanted centralBinomPowSum_harmonic_one_two_three (n : ℕ) :
centralBinomPowSum harmonic 1 n =
1 / 3 * (2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) *
(n * harmonic n - 2 * n / 3 + 2) - 2 / 3 ∧
centralBinomPowSum harmonic 2 n =
1 / 5 * (2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) *
(n / 3 * (3 * n + 2) * harmonic n - 2 / 45 * (9 * n ^ 2 - 14 * n + 15)) + 2 / 15 ∧
centralBinomPowSum harmonic 3 n =
1 / 7 * (2 * n + 1) * ((n.centralBinom : ℚ) / 4 ^ n) *
(n / 15 * (15 * n ^ 2 + 18 * n + 2) * harmonic n -
2 / 1575 * (225 * n ^ 3 - 297 * n ^ 2 + 37 * n + 105)) + 2 / 105
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Corollary 2.
Uses 1
TheoremStirling numbers from derivatives of powers of one minus the exponential#●ready to prove
For all natural numbers \(k\), \(r\) and \(v\), write \({a \brace b}\) for the Stirling numbers of the second kind and \({a \brace b}_v\) for the r-Stirling numbers of the second kind with parameter \(v\), and use the convention \(0^0 = 1\). Then the real functions \(x \mapsto (1 - e^x)^k\) and \(x \mapsto (1 - e^x)^k e^{vx}\) satisfy
and
public theorem_wanted iteratedDeriv_one_sub_exp_pow (k r v : ℕ) :
(iteratedDeriv r (fun x : ℝ => (1 - Real.exp x) ^ k) 0 =
∑ p ∈ range (k + 1), (-1 : ℝ) ^ p * (k.choose p : ℝ) * (p : ℝ) ^ r ∧
∑ p ∈ range (k + 1), (-1 : ℝ) ^ p * (k.choose p : ℝ) * (p : ℝ) ^ r =
(-1) ^ k * k.factorial * (Nat.stirlingSecond r k : ℝ)) ∧
(iteratedDeriv r (fun x : ℝ => (1 - Real.exp x) ^ k * Real.exp (v * x)) 0 =
∑ p ∈ range (k + 1), (-1 : ℝ) ^ p * (k.choose p : ℝ) * ((v + p : ℕ) : ℝ) ^ r ∧
∑ p ∈ range (k + 1), (-1 : ℝ) ^ p * (k.choose p : ℝ) * ((v + p : ℕ) : ℝ) ^ r =
(-1) ^ k * k.factorial * (rStirlingSecond (r + v) (k + v) v : ℝ))
def rStirlingSecond (n m r : ℕ) : ℕ :=
if r ≤ m ∧ r ≤ n then
∑ i ∈ range (n - r + 1), (n - r).choose i * Nat.stirlingSecond (n - r - i) (m - r) * r ^ i
else 0
MathlibExt/Combinatorics/Enumerative/RStirlingSecond.lean:37
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Lemma 1.
Uses 1
TheoremPower sums of \(\binom{t}{k}(H_t - H_{t-k})\) in r-Stirling form#●ready to prove
Let \(t\) be a complex number that is not an integer. For complex \(x\) write \(\binom{x}{k} = x(x-1)\cdots(x-k+1)/k!\), and write \(H_x = \psi(x+1) + \gamma\), where \(\psi\) is the digamma function and \(\gamma\) is the Euler–Mascheroni constant (only differences \(H_x - H_y = \psi(x+1) - \psi(y+1)\) occur below). Let \({a \brace b}_c\) denote the r-Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_choose_harmonic_diff_rStirling (n r : ℕ) (t : ℂ)
(ht : ∀ m : ℤ, t ≠ m) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * (k : ℂ) ^ r * Ring.choose t k *
(Complex.digamma (t + 1) - Complex.digamma (t - k + 1)) =
∑ k ∈ range (min r n + 1),
(-1 : ℂ) ^ k * k.factorial * (rStirlingSecond (r + (n - k)) n (n - k) : ℂ) *
Ring.choose ((n : ℂ) - t) (n - k) *
(Complex.digamma (k - t + 1) - Complex.digamma (n - t + 1))
def rStirlingSecond (n m r : ℕ) : ℕ :=
if r ≤ m ∧ r ≤ n then
∑ i ∈ range (n - r + 1), (n - r).choose i * Nat.stirlingSecond (n - r - i) (m - r) * r ^ i
else 0
MathlibExt/Combinatorics/Enumerative/RStirlingSecond.lean:37
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 4.
Uses 1
TheoremPower sums of \(\binom{t}{k}(H_t - H_{t-k})\) for exponents up to three#●ready to prove
Let \(n\) be a natural number and \(t\) a complex number that is not an integer. For complex \(x\) write \(\binom{x}{k} = x(x-1)\cdots(x-k+1)/k!\), and write \(H_x = \psi(x+1) + \gamma\), where \(\psi\) is the digamma function and \(\gamma\) is the Euler–Mascheroni constant (only differences \(H_x - H_y = \psi(x+1) - \psi(y+1)\) occur below). For natural \(r\) let \(L_r = \sum_{k=0}^{n} (-1)^k k^r \binom{t}{k} (H_t - H_{t-k})\) (with \(0^0 = 1\)), and for natural \(j\) let \(A_j = \binom{n-t}{n-j} (H_{j-t} - H_{n-t})\) if \(j \le n\) and \(A_j = 0\) if \(j > n\). Then \(L_0 = A_0\), \(L_1 = -A_1 + n A_0\), \(L_2 = 2 A_2 - (2n-1) A_1 + n^2 A_0\) and \(L_3 = -6 A_3 + 6(n-1) A_2 - (3n^2 - 3n + 1) A_1 + n^3 A_0\).
These are the cases \(r = 0, 1, 2, 3\) of the paper's Theorem 4.
public theorem_wanted sum_choose_harmonic_diff_pow_le_three (n : ℕ) (t : ℂ)
(ht : ∀ m : ℤ, t ≠ m) :
let L : ℕ → ℂ := fun r => ∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * (k : ℂ) ^ r * Ring.choose t k *
(Complex.digamma (t + 1) - Complex.digamma (t - k + 1))
let A : ℕ → ℂ := fun j => if n < j then 0 else Ring.choose ((n : ℂ) - t) (n - j) *
(Complex.digamma (j - t + 1) - Complex.digamma (n - t + 1))
L 0 = A 0 ∧ L 1 = -A 1 + n * A 0 ∧ L 2 = 2 * A 2 - (2 * n - 1) * A 1 + n ^ 2 * A 0 ∧
L 3 = -6 * A 3 + 6 * (n - 1) * A 2 - (3 * n ^ 2 - 3 * n + 1) * A 1 + n ^ 3 * A 0
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 1.
TheoremOdd harmonic central binomial sums via r-Stirling numbers#●ready to prove
For natural numbers \(n\) and \(r\), let \(O_m = \sum_{i=1}^{m} 1/(2i-1)\) be the odd harmonic numbers, \({a \brace b}_s\) the r-Stirling numbers of the second kind, and \(S_r^O(n) = \sum_{k=0}^{n} \binom{2k}{k} 4^{-k} k^r O_k\), with \(0^0 = 1\). Then
Moreover \(S_0^O(n) = (2n+1) \binom{2n}{n} 4^{-n} (O_{n+1} - 1)\) and \(S_1^O(n) = \frac{n(2n+1)}{3} \binom{2n}{n} 4^{-n} \big(O_{n+1} - \frac{1}{3}\big)\).
public theorem_wanted centralBinomPowSum_oddHarmonic_eq_rStirling (n r : ℕ) :
centralBinomPowSum oddHarmonic r n =
1 / 4 ^ n * ∑ k ∈ range (min r n + 1),
(-1) ^ k * k.factorial * (rStirlingSecond (r + (n - k)) n (n - k) : ℚ) * 4 ^ k *
((2 * n + 1).choose (2 * k + 1) : ℚ) * ((n - k).centralBinom : ℚ) /
(n.choose k : ℚ) * (oddHarmonic (n + 1) - oddHarmonic (k + 1)) ∧
centralBinomPowSum oddHarmonic 0 n =
(2 * n + 1) * (n.centralBinom : ℚ) / 4 ^ n * (oddHarmonic (n + 1) - 1) ∧
centralBinomPowSum oddHarmonic 1 n =
n * (2 * n + 1) / 3 * (n.centralBinom : ℚ) / 4 ^ n * (oddHarmonic (n + 1) - 1 / 3)
public def centralBinomPowSum (a : ℕ → ℚ) (r n : ℕ) : ℚ :=
∑ k ∈ range (n + 1), (k.centralBinom : ℚ) / 4 ^ k * (k : ℚ) ^ r * a k
WantedExt/Combinatorics/Enumerative/CentralBinomHarmonicSumsWanted.lean:56
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
def rStirlingSecond (n m r : ℕ) : ℕ :=
if r ≤ m ∧ r ≤ n then
∑ i ∈ range (n - r + 1), (n - r).choose i * Nat.stirlingSecond (n - r - i) (m - r) * r ^ i
else 0
MathlibExt/Combinatorics/Enumerative/RStirlingSecond.lean:37
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 2.
Uses 3
TheoremCentral binomial sums weighted by \(1 - O_{k-1}\), in r-Stirling form#●ready to prove
Let \(O_m = \sum_{j=1}^{m} \frac{1}{2j-1}\) be the odd harmonic numbers (so \(O_0 = 0\)) and let \({a \brace b}_c\) denote the r-Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\),
and in particular
public theorem_wanted sum_centralBinom_one_sub_oddHarmonic_eq_rStirling (n r : ℕ) :
∑ k ∈ Icc 1 n, 1 / (4 ^ k * (2 * (k : ℚ) - 1)) * (k : ℚ) ^ r * (k.centralBinom : ℚ) *
(1 - oddHarmonic (k - 1)) =
(n.centralBinom : ℚ) / 4 ^ n * ∑ k ∈ range (min r n + 1),
(-1) ^ k * k.factorial * (rStirlingSecond (r + (n - k)) n (n - k) : ℚ) *
(n.choose k : ℚ) * 4 ^ k /
(k.centralBinom : ℚ) * (oddHarmonic n - oddHarmonic k) ∧
∑ k ∈ Icc 1 n, 1 / (4 ^ k * (2 * (k : ℚ) - 1)) * (k.centralBinom : ℚ) *
(1 - oddHarmonic (k - 1)) =
(n.centralBinom : ℚ) / 4 ^ n * oddHarmonic n
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
def rStirlingSecond (n m r : ℕ) : ℕ :=
if r ≤ m ∧ r ≤ n then
∑ i ∈ range (n - r + 1), (n - r).choose i * Nat.stirlingSecond (n - r - i) (m - r) * r ^ i
else 0
MathlibExt/Combinatorics/Enumerative/RStirlingSecond.lean:37
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 3.
Uses 2
TheoremPower-weighted convolution of \(4^k\) with \(\binom{2m}{m} O_m\)#●ready to prove
Let \(O_m = \sum_{j=1}^{m} \frac{1}{2j-1}\) be the odd harmonic numbers (so \(O_0 = 0\)) and let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_four_pow_centralBinom_oddHarmonic_eq_stirling (n r : ℕ) :
∑ k ∈ range (n + 1), 4 ^ k * ((n - k).centralBinom : ℚ) * (k : ℚ) ^ r * oddHarmonic (n - k) =
(2 * n + 1) * (n.centralBinom : ℚ) * ∑ k ∈ range (r + 1),
4 ^ k / (2 * k + 1) * k.factorial * (Nat.stirlingSecond r k : ℚ) * (n.choose k : ℚ) /
(k.centralBinom : ℚ) * (oddHarmonic (n + 1) - oddHarmonic (k + 1))
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 4.
Uses 1
TheoremPower-weighted convolution of \(4^k\) with \(\binom{2m}{m} (1 - O_{m-1})/(2m-1)\)#●ready to prove
Let \(O_m = \sum_{j=1}^{m} \frac{1}{2j-1}\) be the odd harmonic numbers (so \(O_0 = 0\)) and let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_four_pow_centralBinom_one_sub_oddHarmonic_eq_stirling (n r : ℕ) :
∑ k ∈ range n, 4 ^ k / (2 * ((n - k : ℕ) : ℚ) - 1) * ((n - k).centralBinom : ℚ) *
(k : ℚ) ^ r * (1 - oddHarmonic (n - k - 1)) =
(n.centralBinom : ℚ) * ∑ k ∈ range (r + 1),
4 ^ k / (k.centralBinom : ℚ) * k.factorial * (Nat.stirlingSecond r k : ℚ) *
(n.choose k : ℚ) * (oddHarmonic n - oddHarmonic k)
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 5.
Uses 1
TheoremAlternating reciprocal central binomial sum with \(O_{n+1} - O_{k+1}\)#●ready to prove
Let \(O_m = \sum_{j=1}^{m} \frac{1}{2j-1}\) be the odd harmonic numbers (so \(O_0 = 0\)) and let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_alternating_inv_centralBinom_oddHarmonic_eq_stirling (n r : ℕ) :
∑ k ∈ range (n + 1), (-1) ^ k / (2 * (k : ℚ) + 1) * (n.choose k : ℚ) * 4 ^ k /
(k.centralBinom : ℚ) * (k : ℚ) ^ r * (oddHarmonic (n + 1) - oddHarmonic (k + 1)) =
1 / ((2 * n + 1) * (n.centralBinom : ℚ)) * ∑ k ∈ range (min r n + 1),
(-1) ^ k * k.factorial * (Nat.stirlingSecond r k : ℚ) * 4 ^ k *
((n - k).centralBinom : ℚ) * oddHarmonic (n - k)
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 6.
Uses 1
TheoremAlternating reciprocal central binomial sum with \(O_n - O_k\)#●ready to prove
Let \(O_m = \sum_{j=1}^{m} \frac{1}{2j-1}\) be the odd harmonic numbers (so \(O_0 = 0\)) and let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
where the right-hand sum is empty when \(n = 0\).
The paper's right-hand sum runs over all \(k \le r\); its term \(k = n\) vanishes there because \(1 - O_{-1} = 0\), so it is dropped here.
public theorem_wanted sum_alternating_inv_centralBinom_oddHarmonic_sub_eq_stirling (n r : ℕ) :
∑ k ∈ range (n + 1), (-1) ^ k * (n.choose k : ℚ) * 4 ^ k / (k.centralBinom : ℚ) *
(k : ℚ) ^ r * (oddHarmonic n - oddHarmonic k) =
1 / (n.centralBinom : ℚ) * ∑ k ∈ range (min (r + 1) n),
(-1) ^ k / (2 * ((n - k : ℕ) : ℚ) - 1) * k.factorial * (Nat.stirlingSecond r k : ℚ) *
4 ^ k * ((n - k).centralBinom : ℚ) * (1 - oddHarmonic (n - k - 1))
def oddHarmonic (n : ℕ) : ℚ :=
∑ m ∈ range n, 1 / (2 * (m : ℚ) + 1)
MathlibExt/NumberTheory/Harmonic/OddHarmonic.lean:34
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Proposition 7.
Uses 1
TheoremPower sums of \(\binom{t}{n-k}(H_t - H_{t-n+k})\) in Stirling form#●ready to prove
Let \(t\) be a complex number that is not an integer. For complex \(x\) write \(\binom{x}{k} = x(x-1)\cdots(x-k+1)/k!\), and write \(H_x = \psi(x+1) + \gamma\), where \(\psi\) is the digamma function and \(\gamma\) is the Euler–Mascheroni constant (only differences \(H_x - H_y = \psi(x+1) - \psi(y+1)\) occur below). Let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_choose_sub_harmonic_diff_stirling (n r : ℕ) (t : ℂ)
(ht : ∀ m : ℤ, t ≠ m) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ k * Ring.choose t (n - k) * (k : ℂ) ^ r *
(Complex.digamma (t + 1) - Complex.digamma (t - n + k + 1)) =
(-1) ^ n * ∑ k ∈ range (min r n + 1),
(k.factorial : ℂ) * (Nat.stirlingSecond r k : ℂ) * Ring.choose ((n : ℂ) - t) (n - k) *
(Complex.digamma (k - t + 1) - Complex.digamma (n - t + 1))
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 5.
TheoremPower sums of \(\binom{n-t}{n-k}(H_{k-t} - H_{n-t})\) in Stirling form#●ready to prove
Let \(t\) be a complex number that is not an integer. For complex \(x\) write \(\binom{x}{k} = x(x-1)\cdots(x-k+1)/k!\), and write \(H_x = \psi(x+1) + \gamma\), where \(\psi\) is the digamma function and \(\gamma\) is the Euler–Mascheroni constant (only differences \(H_x - H_y = \psi(x+1) - \psi(y+1)\) occur below). Let \({r \brace k}\) denote the Stirling numbers of the second kind. For all natural numbers \(n\) and \(r\) (with \(0^0 = 1\)),
public theorem_wanted sum_choose_sub_harmonic_diff_stirling_dual (n r : ℕ) (t : ℂ)
(ht : ∀ m : ℤ, t ≠ m) :
∑ k ∈ range (n + 1),
(-1 : ℂ) ^ (n - k) * Ring.choose ((n : ℂ) - t) (n - k) * (k : ℂ) ^ r *
(Complex.digamma (k - t + 1) - Complex.digamma (n - t + 1)) =
∑ k ∈ range (min r n + 1),
(k.factorial : ℂ) * (Nat.stirlingSecond r k : ℂ) * Ring.choose t (n - k) *
(Complex.digamma (t + 1) - Complex.digamma (t - n + k + 1))
Sources
- Kunle Adegoke and Robert Frontczak, Three Classes of Combinatorial Sums Involving Central Binomial Coefficients and Harmonic Numbers, INTEGERS 26 (2026), Article A109, Theorem 6.
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.