Ramanujan's Lost Notebook Part I, Ch. 7: ch07Coefficient
DefinitionRamanujanLostNotebook_PartI_ch07_ch07Coefficientnumber-theoryramanujan-lost-notebook
The coefficient a_ν of (7.2.3), for integer ν≥2. Γ is the real gamma function, ζ and L are the series above. The source expansion uses ν even. For k=3,4 this gives the six constants displayed in (7.3.8), (7.3.12).
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07L
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Zeta
noncomputable section
namespace RamanujanLostNotebook.PartI
/-- The coefficient a_ν of (7.2.3), for integer ν≥2. Γ is the real gamma function, ζ and L are the series above. The source expansion uses ν even. For k=3,4 this gives the six constants displayed in (7.3.8), (7.3.12). -/
noncomputable def ch07Coefficient (k : ℕ) (χ : ℕ → ℝ) (ν : ℕ) : ℝ :=
4 * Real.Gamma (ν : ℝ) * ch07Zeta ν * ch07L k χ (ν + 1) /
(2 * Real.pi / Real.sqrt (k : ℝ)) ^ (2 * ν + 1)
end RamanujanLostNotebook.PartI
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 7.