Ramanujan's Lost Notebook Part I, Ch. 13: ch13Falling
DefinitionRamanujanLostNotebook_PartI_ch13_ch13Fallingnumber-theoryramanujan-lost-notebook
Integer falling factorial, with subtraction in Z even for negative indices.
Definition code
import Mathlib noncomputable section namespace RamanujanLostNotebook.PartI /-- Integer falling factorial, with subtraction in Z even for negative indices. -/ def ch13Falling (n : ℤ) (k : ℕ) : ℂ := ∏ i ∈ Finset.range k, ((n - (i : ℤ) : ℤ) : ℂ) end RamanujanLostNotebook.PartI end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 13.