Interactive Permutations & Combinations (nPr & nCr)
Calculate factorials, permutations (order matters), and combinations (order doesn't matter) with exact arithmetic.
The fascinating world of numbers
Calculate factorials, permutations (order matters), and combinations (order doesn't matter) with exact arithmetic.
Calculate factorials, permutations (order matters), and combinations (order doesn't matter) with exact arithmetic.
In combinatorics, permutations count arrangements where the order of elements matters, while combinations count selections where order does not matter.
Permutations: P(n, r) = n! / (n − r)!
Combinations: C(n, r) = n! / [r! × (n − r)!]
If awarding Gold, Silver, Bronze (order matters): P(10, 3) = 10 × 9 × 8 = 720.
If choosing a 3-person delegation (order does not matter): C(10, 3) = 720 / 6 = 120.
By mathematical definition, 0! = 1. This ensures that formulas like C(n, n) = n! / (n! × 0!) evaluate correctly to 1.