Ramanujan's Lost Notebook Part II, Ch. 11: ch11QuotCoeff
DefinitionRamanujanLostNotebook_PartII_ch11_ch11QuotCoeffnumber-theoryramanujan-lost-notebook
Exact degree-n coefficient of A/D when D has constant term 1. Each caller supplies polynomials equal to the source numerator and denominator through degree n.
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartII_ch11_ch11Inv noncomputable section namespace RamanujanLostNotebook.PartII /-- Exact degree-n coefficient of A/D when D has constant term 1. Each caller supplies polynomials equal to the source numerator and denominator through degree n. -/ noncomputable def ch11QuotCoeff (A D : Polynomial ℤ) (n : ℕ) : ℤ := (A * ch11Inv D n).coeff n end RamanujanLostNotebook.PartII end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 11.