Knuth's identity for central binomial coefficients
TheoremKnuth's identity in harmonic-number notation#✓fully proved
MetaMathlibExt.knuth_catalan_log_sq_canonical
Let \(x\) be a real number with \(|x| \le 1/4\). Write \(H_k = \sum_{j=1}^{k} \frac{1}{j}\) for the \(k\)-th harmonic number and \(C_n\) for the \(n\)-th Catalan number. Then the series
\[\sum_{n=1}^{\infty} \binom{2n}{n} \left(H_{2n-1} - H_n\right) \frac{x^n}{n}\]
converges absolutely, and its sum is \(\left(\log \sum_{n=0}^{\infty} C_n x^n\right)^2\).
TheoremKnuth's identity for central binomial coefficients and harmonic numbers#✓fully proved
MetaMathlibExt.knuth_catalan_log_sq
Let \(x\) be a real number with \(|x| \le 1/4\), and let \(C_n\) denote the \(n\)-th Catalan number. Then the series
\[\sum_{n=1}^{\infty} \binom{2n}{n}
\left(\sum_{j=1}^{2n-1} \frac{1}{j} - \sum_{j=1}^{n} \frac{1}{j}\right) \frac{x^n}{n}\]
converges absolutely, and its sum is \(\left(\log \sum_{n=0}^{\infty} C_n x^n\right)^2\).
theorem knuth_catalan_log_sq (x : ℝ) (hx : |x| ≤ 1 / 4) :
HasSum
(fun n : ℕ => (Nat.choose (2 * (n + 1)) (n + 1) : ℝ) *
((∑ k ∈ Finset.range (2 * (n + 1) - 1), ((k : ℝ) + 1)⁻¹) -
(∑ k ∈ Finset.range (n + 1), ((k : ℝ) + 1)⁻¹)) *
x ^ (n + 1) / ((n : ℝ) + 1))
((Real.log (∑' n : ℕ, (catalan n : ℝ) * x ^ n)) ^ 2)
Sources
Sources
- Hongwei Chen, "Interesting Series Associated with Central Binomial Coefficients, Catalan Numbers and Harmonic Numbers", Journal of Integer Sequences 19 (2016), Article 16.1.5, Theorem
eq:k_gf, lines 229-234, https://cs.uwaterloo.ca/journals/JIS/VOL19/Chen/chen21.tex.
Uses 1
2 fully proved
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.