Ramanujan's Lost Notebook Part V, shared: tenthH
DefinitionRamanujanLostNotebook_PartV_shared_tenthHnumber-theoryramanujan-lost-notebook
The Lambert-type series h(x, q) of (9.6.2), p. 195 (recalled as (11.3.10), p. 235;
Chapter 10 uses its own analogue k(x, q) of (10.6.2)):
h(x, q) = φ(-q)^{-1} ∑_{n ∈ ℤ} (-1)^n q^{n(n+1)} / (1 - q^n x).
n(n+1) ≥ 0 is written with Int.toNat; q ^ n is an integer power.
Domain: 0 < ‖q‖ < 1, and x ≠ q^k for every integer k (no vanishing denominator);
absolutely convergent. Outside: junk.
Reference: h(1/2, 1/5) = 4.3415363887206243464….
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartV_shared_thetaPhi
noncomputable section
namespace RamanujanLostNotebook.PartV
/-- The Lambert-type series `h(x, q)` of (9.6.2), p. 195 (recalled as (11.3.10), p. 235;
Chapter 10 uses its own analogue `k(x, q)` of (10.6.2)):
`h(x, q) = φ(-q)^{-1} ∑_{n ∈ ℤ} (-1)^n q^{n(n+1)} / (1 - q^n x)`.
`n(n+1) ≥ 0` is written with `Int.toNat`; `q ^ n` is an integer power.
Domain: `0 < ‖q‖ < 1`, and `x ≠ q^k` for every integer `k` (no vanishing denominator);
absolutely convergent. Outside: junk.
Reference: `h(1/2, 1/5) = 4.3415363887206243464…`. -/
def tenthH (x q : ℂ) : ℂ :=
1 / thetaPhi (-q) * ∑' n : ℤ, (-1 : ℂ) ^ n * q ^ (n * (n + 1)).toNat / (1 - q ^ n * x)
end RamanujanLostNotebook.PartV
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018.