All courses › Discrete Mathematics › Permutations

Permutations

A permutation is an arrangement where the order matters. The number of ways to arrange n things is n factorial. If you only choose k of them in order, there are fewer possibilities.

n!=n⋅(n−1)⋯2⋅1n! = n\cdot(n-1)\cdots 2\cdot 1all n in order
P(n,k)=n!(n−k)!P(n,k) = \frac{n!}{(n-k)!}k of n in order

Symbols

nnnumber of things
kknumber chosen

Example

Gold, silver and bronze among 8 runners:

P(8,3)=8⋅7⋅6=336P(8,3) = 8\cdot 7\cdot 6 = 336.

By definition 0! = 1.
Practise combinatorics for free →

← The multiplication principle · Combinations →

Part of Discrete Mathematics: Combinatorics.