Ramanujan's Lost Notebook Part II, Ch. 15: ch15LambertTerm
DefinitionRamanujanLostNotebook_PartII_ch15_ch15LambertTermnumber-theoryramanujan-lost-notebook
The k-th Lambert summand with positive index r+1, over complex q. P, Q and R use k=1,3,5 (pp.365,367). It is a classical term when |q|<1; no factor 1-q^(r+1) then vanishes.
Definition code
import Mathlib noncomputable section namespace RamanujanLostNotebook.PartII /-- The k-th Lambert summand with positive index r+1, over complex q. P, Q and R use k=1,3,5 (pp.365,367). It is a classical term when |q|<1; no factor 1-q^(r+1) then vanishes. -/ def ch15LambertTerm (k : ℕ) (q : ℂ) (r : ℕ) : ℂ := ((r + 1 : ℕ) : ℂ) ^ k * q ^ (r + 1) / (1 - q ^ (r + 1)) end RamanujanLostNotebook.PartII end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 15.