Ramanujan's Lost Notebook Part V, shared: mockPhi3
DefinitionRamanujanLostNotebook_PartV_shared_mockPhi3number-theoryramanujan-lost-notebook
φ_3(q) = ∑_{n ≥ 0} q^{n^2} / (-q^2; q^2)_n ((2.1.2), p. 5). Domain: ‖q‖ < 1.
The function φ̃(q) of (4.1.6), p. 36, is this same series.
Reference: 1 + q - q^3 + q^4 + q^5 - q^6 - q^7 + 2q^9 - …,
φ_3(1/5) = 1.1938441877359563776….
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartV_shared_qPoch
noncomputable section
namespace RamanujanLostNotebook.PartV
/-- `φ_3(q) = ∑_{n ≥ 0} q^{n^2} / (-q^2; q^2)_n` ((2.1.2), p. 5). Domain: `‖q‖ < 1`.
The function `φ̃(q)` of (4.1.6), p. 36, is this same series.
Reference: `1 + q - q^3 + q^4 + q^5 - q^6 - q^7 + 2q^9 - …`,
`φ_3(1/5) = 1.1938441877359563776…`. -/
def mockPhi3 (q : ℂ) : ℂ :=
∑' n : ℕ, q ^ (n ^ 2) / qPoch (-(q ^ 2)) (q ^ 2) n
end RamanujanLostNotebook.PartV
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018.