10P3
- Choose from (n)
- 10
- Choose how many (r)
- 3
Permutations720
arithmetic identity: 10x9x8, and 720/3!
Open this examplePermutations, with the matching combination count shown so the difference between "order matters" and "order does not" is visible rather than assumed.
Also called: npr calculator, arrangements calculator.
There are 720 ways to arrange 3 items from 10 when the order matters. Against 120 when it does not.
The first slot has n choices, the second n−1, and so on for r slots, which is n!/(n−r)!. Combinations divide that by r! because the r chosen items can themselves be arranged r! ways and those arrangements are considered identical.
nPr = n! / (n-r)!Each of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Permutations720
arithmetic identity: 10x9x8, and 720/3!
Open this examplePermutations120
boundary
Open this examplePermutations0
degenerate case
Open this example