Как да изчислим Permutations with Replacement
Какво е Permutations with Replacement?
Permutations with replacement count ordered arrangements where items can be repeated. Formula: n^k (n choices, k selections). Used in PIN codes, passwords, combination locks, and license plates.
Ръководство стъпка по стъпка
- 1Order matters AND repetition allowed
- 2Total = n^k (n choices for each of k positions)
- 3Example: 4-digit PIN with digits 0-9: 10^4 = 10,000 possible PINs
- 4Contrast: permutations without replacement = n!/(n-k)!
Worked Examples
Вход
3-letter code from 26 letters, repeats allowed
Резултат
26³ = 17,576 codes
Вход
4-digit PIN (0–9)
Резултат
10⁴ = 10,000 PINs
Without replacement: 10×9×8×7 = 5,040
Готови ли сте да изчислите? Опитайте безплатния калкулатор Permutations with Replacement
Опитайте сами →