# Factorial

The product of the integers from \(1\) to \(n\), written as \(n!\).

By convention, the factorial of \(0\) is \(1\).

\[
n! = \prod_{i=1}^n i
\]

where \(\prod\) is the product sign.By convention, the factorial of \(0\) is \(1\).