A factorial, denoted by the exclamation mark (!), is a mathematical operation that represents the product of all positive integers from 1 up to a given number n.
For example, 5! (read as 'five factorial') equals 5 × 4 × 3 × 2 × 1 = 120. This simple concept forms the foundation for many advanced mathematical concepts.
The factorial function is defined for non-negative integers, with the special case that 0! = 1 by mathematical convention.
Factorials grow extremely rapidly - much faster than exponential functions. This rapid growth makes them particularly useful in combinatorics for counting permutations and combinations.