Ramanujan's Lost Notebook Part I, Ch. 7: ch07MinusDenominator
DefinitionRamanujanLostNotebook_PartI_ch07_ch07MinusDenominatornumber-theoryramanujan-lost-notebook
Positive denominators of the transformed Entry 7.3.1 (k=3) or 7.3.2 (k=4). The outer denominator is separately fixed to 1 by ch07Continuants, so b₀ is unused.
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Continuants noncomputable section namespace RamanujanLostNotebook.PartI /-- Positive denominators of the transformed Entry 7.3.1 (k=3) or 7.3.2 (k=4). The outer denominator is separately fixed to 1 by ch07Continuants, so b₀ is unused. -/ noncomputable def ch07MinusDenominator (k : ℕ) (x : ℝ) (n : ℕ) : ℂ := if k = 3 then ((1 + Real.exp ((n : ℝ) * x) : ℝ) : ℂ) else ((Real.exp ((n : ℝ) * x) + Real.exp (-(n : ℝ) * x) : ℝ) : ℂ) end RamanujanLostNotebook.PartI end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 7.