Mathematics (JEE)ModerateGATE CS

How many functions f from {1, 2, 3, 4, 5, 6} to itself have exactly 2 fixed points (values i with f(i) = i)?

  1. A. 19440
  2. B. 9375
  3. C. 3840
  4. D. 3750

Correct answer: B. 9375

Choose the 2 fixed points in C(6,2) = 15 ways; each of the other 4 points maps to any of the 5 values other than itself, so 15 * 5^4 = 9375.

More Permutations, Combinations and Probability questions

Exams that ask this topic