The factorial is the basic operation for counting the orderings of a set of objects.

Definition — Factorial

For nNn\in\mathbb{N} one defines n!=n(n1)(n2)21n! = n\cdot (n-1)\cdot (n-2)\cdots 2\cdot 1 with the convention 0!=10! = 1.

The number n!n! counts how many different ways one can arrange nn distinct objects in a row: the first position can be filled in nn ways, the second in the n1n-1 remaining ones, and so on until the last. These orderings are called permutations of nn objects.

Topics: Combinatorics
Concepts: Factorial · Permutations
Methods: Factorial permutations
Skills: Combinatorial calculus