Let
S be a
set. The combinations of this set are its subset. A k-combination
is a subset of with k elements.
The order of listing of elements in these subsets is not important in combinations, two lists with the same elements in different orders are considered the same combination.
The number of k-combinations of set of n elements if the binomial number 'n over k'.
One method of counting combinations of k elements from a set of n elements proceeds as follows:
- We count the number of ways in which we can make a list of k elements from the set of n. This is equivalent to calculating the number of Permutations.
- Recognizing that we have listed every subset many times, we correct the calculation by dividing by the number of different lists containing the same k elements.
Since
nPk = n!/(n-k)!, we find
It is useful to note that
nCk can be found using the [Pascal Triangle]
?.