Ramanujan's Lost Notebook Part III, Ch. 5: ch05PartitionZ
DefinitionRamanujanLostNotebook_PartIII_ch05_ch05PartitionZnumber-theoryramanujan-lost-notebook
Integer-indexed partition convention used in recurrences: p(n)=0 for n<0.
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartIII_ch05_ch05Partition namespace RamanujanLostNotebook.PartIII /-- Integer-indexed partition convention used in recurrences: p(n)=0 for n<0. -/ noncomputable def ch05PartitionZ (n : ℤ) : ℤ := if 0 ≤ n then ch05Partition n.toNat else 0 end RamanujanLostNotebook.PartIII
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part III, Springer 2012, Chapter 5.