The combination formula
A combination counts selections where order is irrelevant. Choosing players A, B, C for a team is the same selection as C, A, B. The formula divides the total permutations by r! to remove duplicate orderings.
For example, C(52,5) calculates how many different 5-card poker hands can be dealt from a standard 52-card deck. The answer is 2,598,960.
C(n, r) = n! / (r! × (n − r)!)
The number of unordered selections of r items from n items.