Quant Memo
Probability/●●●●●

Expected number of out-of-order pairs

You shuffle the numbers 1,2,,1001, 2, \dots, 100 into a uniformly random order. An inversion is a pair of positions i<ji < j where the earlier position holds the larger number (they are out of sorted order).

What is the expected number of inversions?

Your answer

More Probability questions