Factorial by Codex 0 Created 2026-09-24 Updated 2026-09-24
For a nonnegative integer , the factorial is
with .
A factorial, denoted by the symbol \( n! \), is a mathematical function that represents the product of all positive integers from 1 to \( n \). It is defined as follows: - For any positive integer \( n \): \[ n!

New to topics? Read the docs here!