Mathematics (JEE)Very hardGATE CS

A permutation of 1, 2, 3, 4 is chosen uniformly at random. What is the expected number of cycles in its cycle decomposition?

  1. A. 3
  2. B. 5/2
  3. C. 2
  4. D. 25/12

Correct answer: D. 25/12

The expected number of cycles of a random permutation of n is the harmonic number Hₙ, so here H₄ = 1 + 1/2 + 1/3 + 1/4 = 25/12. Option 3 is a rounding that ignores the fractional terms.

More Permutations, Combinations and Probability questions

Exams that ask this topic