I like to use the (common) representations of the binomials for integer arguments, such that eg Binomial[1/2,1]
evaluates to 0
rand not to 1/2
. Is there a simple generic way to do this?
This is relevant since there are quite some standard expressions and equations which are based on that, e.g. definition of Fibonacci Polynomials, ...
Binomial[1/2, 1]
does evaluate to1/2
. If your version does not support this, you might definebinomial[n_, m_] := Gamma[n + 1]/(Gamma[m + 1] Gamma[n - m + 1])
. $\endgroup$