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?
- A. 137/360
- B. 31/720
- C. 1/5
- 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).
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A particle starts at position 2 on the integers 0 to 5. Each step it moves one unit left or right with probability 1/2 each…
- A simple symmetric random walk starts at 0 and takes 6 steps, each +1 or -1 with probability 1/2 independently. What is the probability…
- X ~ Binomial(8, 1/4). What is P(X equals the mode of this distribution)?
- Independent events A, B and C have probabilities 1/2, 1/3 and 1/4. What is the probability that exactly one of them occurs?
- A coin lands heads with probability 1/4 on each independent toss. X is the number of tails before the 3rd head. What is Var(X)?
- A family has three children, each equally likely to be a boy or a girl, independently. Given that the family has at least one boy and at…