Ramanujan's Notebooks, shared: shiftedFactorialR
DefinitionRamanujanNotebooks_shared_shiftedFactorialRnumber-theoryramanujan-notebooks
Real shifted factorial (a)_k = a (a + 1) ⋯ (a + k - 1) for real a; the real
counterpart of shiftedFactorial.
Definition code
import Mathlib noncomputable section namespace RamanujanNotebooks /-- Real shifted factorial `(a)_k = a (a + 1) ⋯ (a + k - 1)` for real `a`; the real counterpart of `shiftedFactorial`. -/ def shiftedFactorialR (a : ℝ) (k : ℕ) : ℝ := ∏ j ∈ Finset.range k, (a + (j : ℝ)) end RamanujanNotebooks end
Source
Bruce C. Berndt, Ramanujan's Notebooks.