Permutations

Lesson · Beginner

Combinatorics: Counting

A permutation is an arrangement of objects in which order matters.

For example, the arrangements

ABC,ACB,BACABC,\qquad ACB,\qquad BAC

are different permutations of the same three objects.

Factorial

For a positive integer n,

n!=n(n−1)(n−2)⋯2⋅1n!=n(n-1)(n-2)\cdots2\cdot1

and

0!=10!=1

For example,

5!=5⋅4⋅3⋅2⋅1=1205!=5\cdot4\cdot3\cdot2\cdot1=120