Ramanujan's Lost Notebook Part II, Ch. 12: ch12Term
DefinitionRamanujanLostNotebook_PartII_ch12_ch12Termnumber-theoryramanujan-lost-notebook
One whole μ-term of (12.1.1), all representations grouped together as the chapter specifies. Inadmissible μ, including zero, contribute zero.
Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartII_ch12_ch12Admissible
import Definitions.Def_RamanujanLostNotebook_PartII_ch12_ch12C
import Definitions.Def_RamanujanLostNotebook_PartII_ch12_ch12W
namespace RamanujanLostNotebook.PartII
/-- One whole μ-term of (12.1.1), all representations grouped together as the
chapter specifies. Inadmissible μ, including zero, contribute zero. -/
noncomputable def ch12Term (n mu : ℕ) : ℝ := by
classical
exact if ch12Admissible mu then
2 / ch12C * ch12W n mu / (mu : ℝ) ^ 4 *
Real.exp (2 * (n : ℝ) * Real.pi / mu) else 0
end RamanujanLostNotebook.PartII
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 12.