Permutation is related to tuples, where the order of values is important. Combination, on the other hand, is related to sets, where the order of elements is not important.
Given a set
, let us define
for notational convenience.
We can, then, express
the set of all permutations as
.
The set of all combinations, on the other hand, is
.
Instead of using all elements in
, we can also choose to use
elements, where
. In this case, the permutation of selecting
elements from
is:
.
The combination of selecting
elements from
(also called
choose
) is as follows:
.
Our main interest is to compute
and
.