Ramanujan's Lost Notebook Part V, shared: rrG
DefinitionRamanujanLostNotebook_PartV_shared_rrGnumber-theoryramanujan-lost-notebook
Rogers–Ramanujan function G(q) = ∑_{n ≥ 0} q^{n^2} / (q; q)_n, the SERIES in
(3.1.16), p. 19. Domain: ‖q‖ < 1. By the first Rogers–Ramanujan identity it equals
rrGProd q there (a theorem, not part of the definition).
Reference: 1 + q + q^2 + q^3 + 2q^4 + 2q^5 + 3q^6 + …, G(1/5) = 1.2520840053849600264….
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartV_shared_qPoch
noncomputable section
namespace RamanujanLostNotebook.PartV
/-- Rogers–Ramanujan function `G(q) = ∑_{n ≥ 0} q^{n^2} / (q; q)_n`, the SERIES in
(3.1.16), p. 19. Domain: `‖q‖ < 1`. By the first Rogers–Ramanujan identity it equals
`rrGProd q` there (a theorem, not part of the definition).
Reference: `1 + q + q^2 + q^3 + 2q^4 + 2q^5 + 3q^6 + …`, `G(1/5) = 1.2520840053849600264…`. -/
def rrG (q : ℂ) : ℂ :=
∑' n : ℕ, q ^ (n ^ 2) / qPoch q q n
end RamanujanLostNotebook.PartV
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018.