Mathematics (JEE)HardGATE CS · ICPC
A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. A position is a record if its value is larger than every value before it; the first position is always a record. What is the expected number of records?
- A. 77/60
- B. 137/60
- C. 25/12
- D. 5/2
Correct answer: B. 137/60
Position i is a record exactly when the largest of its first i values sits in position i, which has probability 1/i. By linearity, E = 1 + 1/2 + 1/3 + 1/4 + 1/5 = H_5 = 137/60.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A fair coin is tossed repeatedly. What is the expected number of tosses until the pattern HTH first appears as three consecutive tosses?
- A coin shows heads with probability 2/5 on each independent toss. What is the probability that the fourth head appears exactly on the…
- Three factories supply bulbs. Factory X supplies 50% of the stock with 2% defective bulbs, factory Y supplies 30% with 3% defective, and…
- Three fair coins are tossed independently. Let A be the event that coins 1 and 2 show the same face, B that coins 2 and 3 show the same…
- Urn I has 3 white and 2 black balls; urn II has 2 white and 4 black balls. A fair die is rolled: if it shows 1 or 2 an urn I is used…
- A 4-element subset of {1, 2, ..., 12} is chosen uniformly at random, so each of the C(12,4) subsets is equally likely. What is the…