WLJS LogoWLJS Notebook

Factorial

n! or Factorial[n] gives the factorial of n (the product 1×2×3×...×n).

Examples

Compute factorials:

5!
(* 120 *)

10!
(* 3628800 *)

Factorial of zero:

0!
(* 1 *)

Large factorials:

100!
(* 93326215443944152681699238856266700490715968264381621468592963... *)

Please visit the official Wolfram Language Reference for more details.

On this page