faktoriale
In mathematics a factorial is an operation on a non‑negative integer n that results in the product of all positive integers less than or equal to n. It is denoted by an exclamation point, such as 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition 0! = 1, which keeps many combinatorial formulas valid.
The factorial grows very rapidly. For example 10! equals 3,628,800 and 20! is 2,432,902,008,176,640,000. Because of
Factorials are fundamental in combinatorics. They give the number of permutations of n distinct objects, n! =
The operations of computing n! can be implemented recursively, iteratively, or using closed forms like Stirling’s
Historically factorials were studied by early combinatorists such as Gerolamo Cardano and later by Isaac Newton