Factorial

Factorial

Factorial[ n ] represents the factorial n!.

Usages

Factorial[ n ]

Factorial[ n ] represents the factorial of n and is displayed as n!. In a script, it is not calculated: use CalcFactorial or Simplify to get the value.

Example in rendered
The factorial of 5. Factorial[ 5 ] 5!5!
Brackets are added where needed. Factorial[ n+1 ] (n+1)!\left(n+1\right)!
Example in out
Calculate the value with Simplify. Simplify[ Factorial[5] ] 120
Calculate the value with CalcFactorial. CalcFactorial[ 5 ] 120

See also: CalcFactorial, CalcCombination, Simplify