Mathematics (JEE)HardGATE CS · ICPC

A permutation of 1 through 6 is chosen uniformly at random from all 720 orderings. A position is a left-to-right maximum if its value exceeds every value before it. What is the probability that exactly 2 positions are left-to-right maxima?

  1. A. 137/360
  2. B. 31/720
  3. C. 1/5
  4. D. 1/6

Correct answer: A. 137/360

The number of permutations of 6 with exactly 2 left-to-right maxima is the unsigned Stirling number c(6,2) = 274, so the probability is 274/720 = 137/360. The count 31 is the Stirling number of the second kind S(6,2).

More Permutations, Combinations and Probability questions

Exams that ask this topic