If I had to construct a function for falling factorial in mathematica I'd do something like that (hope I'm not mistaken):
fallfact[x_,k_]:=$\prod_{j=0}^{k-1}(x-j)$
But is there a built-in function for falling factorial in Mathematica?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityAccording to MathWorld (a great resource with frequent references to Mathematica functions):
The falling factorial is implemented in Mathematica as
FactorialPower[x, n].
A generalized version of the falling factorial can defined by
$$(x)_n^{(h)}=x(x-h)\cdots(x-(n-1)h)$$
and is implemented in Mathematica as
FactorialPower[x, n, h]
.
Documentation: FactorialPower
FactorialPower
$\endgroup$Pochhammer
in MM is very different from the use in other fields of mathematics). Besides, I can wince as your answer gets 30 upvotes ;-} $\endgroup$