Ramanujan's Lost Notebook Part V, Ch. 17: ch17ThetaTerm
DefinitionRamanujanLostNotebook_PartV_ch17_ch17ThetaTermnumber-theoryramanujan-lost-notebook
The three weight-three-halves theta summands in the printed order g0,g1,g2. Integer powers encode the bilateral sign.
Definition code
import Mathlib
noncomputable section
namespace RamanujanLostNotebook.PartV
/-- The three weight-three-halves theta summands in the printed order g0,g1,g2. Integer powers encode the bilateral sign. -/
noncomputable def ch17ThetaTerm (z : ℂ) (c : Fin 3) (n : ℤ) : ℂ :=
(![(-1 : ℂ)^n * ((n : ℂ) + 1/3) * Complex.exp (3 * (Real.pi : ℂ) * Complex.I * ((n : ℂ) + 1/3)^2 * z),
-((n : ℂ) + 1/6) * Complex.exp (3 * (Real.pi : ℂ) * Complex.I * ((n : ℂ) + 1/6)^2 * z),
((n : ℂ) + 1/3) * Complex.exp (3 * (Real.pi : ℂ) * Complex.I * ((n : ℂ) + 1/3)^2 * z)] c)
end RamanujanLostNotebook.PartV
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018, Chapter 17.