A permutation of a finite set is a one-to-one function from the set to itself; for instance, one permutation of is the function defined such that , , and . How many permutations of the set have the property that for each , but for each ?
Solution
For each such , the elements of can be arranged into pairs such that . Choosing a permutation is thus tantamount to choosing a partition of into five disjoint pairs. There are 9 ways to pair off the number 1, then 7 ways to pair off the smallest number not yet paired, and so forth, so we have partitions into pairs.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.