The factorial is a function applied to whole numbers, defined as . Before the notation was invented, was a common notation.[1] Its most common usage is in determining the number of permutations n distinct objects can be arranged, because there are n ways to arrange the first object, ways to arrange the second object (as the first spot has been taken), and so forth.
For example,
.
The special case has been set by definition as there is one way to arrange zero objects.
It can be defined recursively as and .
The first few values of for , 1, 2, 3, 4, ... are 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, and 39916800.
The sum of the reciprocals of the factorials, , approaches e, the mathematical constant.
Because (where is the gamma function), . This identity gives us factorials of positive real numbers, not limited to integers:
Variation
Aalbert Torsius defines a variation on the factorial, where and .
is pronounced "nth level factorial of x."
The special case is a function known as the Torian.
Sources
See also
- double factorial
- exponential factorial
- falling factorial
- multifactorial
- q-Factorial
- rising factorial
- subfactorial, also known as the left factorial
- Torian