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?

  1. A. 4/5
  2. B. 2
  3. C. 5/2
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic