Ramanujan's Lost Notebook Part V, Ch. 11: ch11H
DefinitionRamanujanLostNotebook_PartV_ch11_ch11Hnumber-theoryramanujan-lost-notebook
The theta series h(q) = ∑_{n ∈ ℤ} (-1)^n q^{n(5n+3)/2} of (11.1.2), p. 229 (a function
of one variable; not the Lambert-type series h(x, q) of (9.6.2) = (11.3.10), which is
tenthH). n(5n+3) is even and nonnegative for every integer n, so the exponent is
written as Int.toNat of an exact integer quotient.
Domain: ‖q‖ < 1; absolutely convergent. Outside: the family is not summable and the
value is 0.
Reference: 1 - q - q^4 + q^7 + q^13 - q^18 - q^27 + …,
h(1/5) = 0.79841280081893785586….
Definition code
import Mathlib
namespace RamanujanLostNotebook.PartV
/-- The theta series `h(q) = ∑_{n ∈ ℤ} (-1)^n q^{n(5n+3)/2}` of (11.1.2), p. 229 (a function
of one variable; not the Lambert-type series `h(x, q)` of (9.6.2) = (11.3.10), which is
`tenthH`). `n(5n+3)` is even and nonnegative for every integer `n`, so the exponent is
written as `Int.toNat` of an exact integer quotient.
Domain: `‖q‖ < 1`; absolutely convergent. Outside: the family is not summable and the
value is `0`.
Reference: `1 - q - q^4 + q^7 + q^13 - q^18 - q^27 + …`,
`h(1/5) = 0.79841280081893785586…`. -/
noncomputable def ch11H (q : ℂ) : ℂ :=
∑' n : ℤ, (-1 : ℂ) ^ n * q ^ (n * (5 * n + 3) / 2).toNat
end RamanujanLostNotebook.PartV
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018, Chapter 11.