Ramanujan's Lost Notebook Part I, Ch. 7: ch07Zeta
DefinitionRamanujanLostNotebook_PartI_ch07_ch07Zetanumber-theoryramanujan-lost-notebook
ζ(s) for a natural integer s≥2, as the absolutely convergent series starting at 1. Values at s=0,1 are unused totalizations.
Definition code
import Mathlib noncomputable section namespace RamanujanLostNotebook.PartI /-- ζ(s) for a natural integer s≥2, as the absolutely convergent series starting at 1. Values at s=0,1 are unused totalizations. -/ noncomputable def ch07Zeta (s : ℕ) : ℝ := ∑' n : ℕ, 1 / ((n + 1 : ℕ) : ℝ) ^ s end RamanujanLostNotebook.PartI end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 7.