01
What is a factorial (n!)?
A factorial is the product of all positive integers from 1 to n, defined as n! = 1 × 2 × 3 × ⋯ × n. For example, 5! = 1×2×3×4×5 = 120. By convention, 0! = 1. Factorials are a foundational tool across combinatorics (permutations and combinations), probability theory, and series expansions.