Mathematics (JEE)ModerateGATE CS

How many permutations of {1, 2, ..., 7} have exactly one fixed point, that is, exactly one value i with p(i) = i?

  1. A. 1855
  2. B. 1854
  3. C. 1764
  4. D. 308

Correct answer: A. 1855

Pick the fixed point in 7 ways; the other six values form a derangement, and D6 = 265, so 7 * 265 = 1855.

More Permutations, Combinations and Probability questions

Exams that ask this topic