gives the factorial of n.


  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • For non-integer n, the numerical value of n! is given by Gamma[1+n].
  • For integers and half integers, Factorial automatically evaluates to exact values.
  • Factorial can be evaluated to arbitrary numerical precision.
  • Factorial automatically threads over lists.
New in 1
New to Mathematica? Find your learning path »
Have a question? Ask support »