Definition. Binomial coefficients [00GH]

Let's return to our example with soup to generalize it. In that case, we were concerned with picking a subset of 4 soups out of a total of 10. More generally, if we want to choose k things out of n—that is, we want to count the number of size-k subsets of a set of size n—we first of all have n \cdot (n-1) \cdot \dots \cdot (n-k+1) = \frac {n!}{(n-k)!} ways to choose k things in a specific order. But rearranging the k things into a different order is not supposed to make any difference, so for each different subset of k things there are k! orderings which should all be considered equivalent. Thus, by the division rule, there are \frac {n!}{k!(n-k)!} size-k subsets of a set of size n. This is such a common idea that it has a special notation: \binom {n}{k} = \frac {n!}{k!(n-k)!} is called a binomial coefficient, and we pronounce it “n choose k”. There is a special notation for them because they show up all over the place in mathematics (not just in combinatorics).