In mathematics, the factorial of a non-negative integer n is the product of all positive integers less than or equal to n. For example,
where n! represents n factorial. The notation n! was introduced by Christian Kramp in 1808.