MathorynMathematical Formula Database

Combinatorics

Permutations

Permutations count ordered selections of kk objects from nn distinct objects without repetition, for example podium finishes. Use it when order matters, as in rankings, passwords without repeated characters or seating arrangements.

P(n,k)=n!(n−k)!P(n,k)=\frac{n!}{(n-k)!}
LaTeXP(n,k)=\frac{n!}{(n-k)!}

Variables

nn
number of objects
kk
number chosen, k ≤ n

Example

In how many ways can gold, silver and bronze go to 10 runners?

  1. 10!7!=10⋅9⋅8\frac{10!}{7!}=10\cdot9\cdot8.

Answer: 720720.

Related formulas