Mathematics (JEE)HardGATE CS

How many permutations of {1, 2, 3, 4, 5} have at most one fixed point (values i with p(i) = i)?

  1. A. 44
  2. B. 89
  3. C. 76
  4. D. 45

Correct answer: B. 89

Zero fixed points give D5 = 44 permutations, and exactly one fixed point gives 5 * D4 = 5 * 9 = 45, so the total is 89.

More Permutations, Combinations and Probability questions

Exams that ask this topic