Mathematics (JEE)Hard
A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. How many pairs of consecutive values (i, i+1), for i = 1 to 4, end up next to each other in the permutation, on average?
- A. 4/5
- B. 2
- C. 5/2
- D. 8/5
Correct answer: D. 8/5
For a fixed pair (i, i+1), the probability they are adjacent is 2 · 4!/5! = 2/5. Summing over the four pairs gives 4 · 2/5 = 8/5. The value 4/5 forgets the two orders of each adjacent pair.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A permutation of 1, 2, 3, 4 is chosen uniformly at random. A descent is a position i with pi > p(i+1). What is the expected number of…
- A fair coin is tossed four times. A run is a maximal block of identical consecutive outcomes. What is the expected number of runs?
- A fair coin is tossed five times. What is the expected number of positions i (1 ≤ i ≤ 4) at which both the i-th and (i+1)-th tosses are…
- Ten fair dice are rolled together. What is the expected number of dice that show a 1?
- Four numbers are drawn independently and uniformly from {1, 2, 3, 4, 5, 6}, with replacement. What is the expected number of distinct…
- Each of ten people attends a meeting independently with probability 1/3. What is the expected number of pairs of people who both attend?