BINOMIAL INDEX

BINOMIAL _ _ _ _ _ _ _ _ _ _ _ _ operator

The Binomial operator returns the Binomial coefficient if both parameter are integer and expressions involving the Gamma function otherwise.

syntax:

Binomial(<integer>,<integer>)

examples:


Binomial(49,6); 

  13983816 



Binomial(n,3); 

   gamma(n + 1)
  ---------------
  6*gamma(n - 2)

The operator Binomial evaluates the Binomial coefficients from the explicit form and therefore it is not the best algorithm if you want to compute many binomial coefficients with big indices in which case a recursive algorithm is preferable.