Mathematics (JEE)Very hardGATE CS

How many permutations of {1, 2, ..., 7} have exactly 3 cycles when written in cycle notation (fixed points count as 1-cycles)?

  1. A. 301
  2. B. 1764
  3. C. 735
  4. D. 1624

Correct answer: D. 1624

This is the unsigned Stirling number of the first kind c(7,3) = 6*c(6,3) + c(6,2) = 6*225 + 274 = 1624, using c(n,k) = (n-1)*c(n-1,k) + c(n-1,k-1).

More Permutations, Combinations and Probability questions

Exams that ask this topic