For any non-negative integer , the factorial of , denoted , can be defined by
Alternatively, the factorial can be defined recursively by and for .
is equal to the number of permutations of distinct objects. For example, there are ways to arrange the five letters A, B, C, D and E into a word.
For every non-negative integer we have