Mathematics (JEE)Very hardGATE CS

How many permutations p of {0, 1, 2, 3, 4, 5} satisfy p(p(i)) = i and p(i) != i for every i? (That is, p is a product of disjoint 2-cycles covering all points.)

  1. A. 76
  2. B. 120
  3. C. 15
  4. D. 90

Correct answer: C. 15

Such a permutation is exactly a perfect matching of 6 points: pair the first point with 5 choices, the next free point with 3, and the last pair is forced, so 5 * 3 * 1 = 15.

More Permutations, Combinations and Probability questions

Exams that ask this topic