Mathematics (JEE)ModerateGATE CS · ICPC

A permutation of 1 to 7 is chosen uniformly at random from all 5040 orderings. What is the probability that exactly three numbers stay in their own positions?

  1. A. 103/280
  2. B. 1/16
  3. C. 1/72
  4. D. 11/60

Correct answer: B. 1/16

Choose the 3 fixed positions in C(7,3) = 35 ways; the other 4 numbers must form a derangement, D4 = 9. So 35 x 9 = 315 permutations, and 315/5040 = 1/16.

More Permutations, Combinations and Probability questions

Exams that ask this topic