🔗
Permutations
★★☆☆☆Middle School
📖Definition
A permutation is the number of ways to arrange r items from n items where order matters.
📐Formulas
P(n, r) = (n!)/((n-r)!)
Permutation formula
n! = n × (n-1) × ·s × 2 × 1
Factorial
P(n, r) = n × (n-1) × ·s × (n-r+1)
Permutation expanded
✏️Examples
예제 1
Find the number of ways 5 people can line up.
예제 2
Choose president, VP, secretary from 10 people.
⚡Applications
Cryptography
Password possibilities
Scheduling
Task ordering
Racing
Ranking combinations
#순열#경우의수#permutations#counting