Mapping permutations to subsets
Consider a function f that maps 5-permutations from the set S = {1, ..., 20} to 5-subsets from S. The function takes a 5-permutation and creates an unordered set whose elements are the five numbers included in the permutation.
(a) What is the value of f on input (12, 1, 3, 15, 9)?
{1, 3, 9, 12, 15}
(b) Is (12, 3, 12, 4, 19) a 5-permutation? Why or why not?
(c) How many permutations are mapped onto the subset {12, 3, 13, 4, 19}?