How does the formula n! divided by (n-r)! count permutations?
In combinatorics, a permutation is an arrangement of objects where the order of selection is significant. The formula counts the number of ways to select and arrange objects from a set of distinct objects.1
To understand why this formula works, consider the process of selecting items one by one:
* For the first position, there are choices.
* For the second, there are choices.
* This continues until the -th position, which has or choices.
Multiplying these choices together gives . The factorial notation represents the product of all integers from to . By dividing by , you effectively cancel out the product of all integers from to , leaving exactly the product of the terms required for the permutation.1
This counting formula allows you to determine the total number of ordered arrangements without the need to list every possibility.1