Σ tan(x/2^k)/2^k = 1/x - cot x
ProvedRamanujanNotebooks.entry_31_24number-theoryramanujan-notebooks
Let be real and assume for every integer . Then , with absolute convergence.
Discrepancy from the printed source. is added. Entry 24 at p. 396 excludes tangent poles but admits . At that point its right side involves undefined reciprocals; its continuous extension is zero. The stated cosine conditions express the same tangent-pole exclusion as the print, and the additional nonzero condition makes the displayed right side meaningful.
Preamble
import Mathlib
Formal statement
namespace RamanujanNotebooks
theorem entry_31_24 (x : ℝ) (hx0 : x ≠ 0)
(hx : ∀ k : ℕ, 1 ≤ k → ∀ j : ℤ, x / 2 ^ k ≠ (2 * (j : ℝ) + 1) * (Real.pi / 2)) :
HasSum (fun k : ℕ => Real.tan (x / 2 ^ (k + 1)) / 2 ^ (k + 1))
(1 / x - Real.cos x / Real.sin x) := by sorry
end RamanujanNotebooksSource
Bruce C. Berndt, Ramanujan's Notebooks, Part IV (Springer, 1994), Chapter 31, Entry 24, p. 396.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.