Ramanujan's Lost Notebook Part II, Ch. 15: ch15Q
DefinitionRamanujanLostNotebook_PartII_ch15_ch15Qnumber-theoryramanujan-lost-notebook
Ramanujan's Q at a real argument, the real part of its complex Lambert definition. The source uses real nomes in this chapter; absolute convergence is recorded separately. Normalization: Q=1+240∑_(r≥1) r^3q^r/(1-q^r).
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartII_ch15_ch15LambertTerm noncomputable section namespace RamanujanLostNotebook.PartII /-- Ramanujan's Q at a real argument, the real part of its complex Lambert definition. The source uses real nomes in this chapter; absolute convergence is recorded separately. Normalization: Q=1+240∑_(r≥1) r^3q^r/(1-q^r). -/ noncomputable def ch15Q (q : ℝ) : ℝ := (1 + (240 : ℂ) * ∑' r : ℕ, ch15LambertTerm 3 (q : ℂ) r).re end RamanujanLostNotebook.PartII end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 15.