Evaluating numerical algorithm
Permutations count arrangements, where order matters: . Combinations count selections, where it doesn't: .
A class of 10 students must pick 3 representatives. (a) In how many ways can a team of 3 be chosen? (b) In how many ways if the 3 are a president, a secretary and a treasurer?
Now Asha as president and Ben as secretary differs from the other way round, so order matters:
Each team of 3 can hand out the 3 roles in 3! = 6 ways.
The calculator below opens on 10C3 and works with exact answers however big.