65

Question: Suppose we have one hundred seats, numbered 1 through 100. We randomly select 25 of these seats. What is the expected number of selected pairs of seats that are consecutive? (To clarify: we would count two consecutive selected seats as a single pair.)

For example, if the selected seats are all consecutive (eg 1-25), then we have 24 consecutive pairs (eg 1&2, 2&3, 3&4, ..., 24&25). The probability of this happening is 75/($_{100}C_{25}$). So this contributes $24\cdot 75/(_{100}C_{25}$) to the expected number of consecutive pairs.

Motivation: I teach. Near the end of an exam, when most of the students have left, I notice that there are still many pairs of students next to each other. I want to know if the number that remain should be expected or not.

  • @corsiKa, I also think it is because if my neighbor leaves, it makes me feel "I should have been ready by now also", and therefore leave quite soon after. While it is the other way around when they still sit next to me, "Why is * not finished yet, have i missed something". And then finally when * leaves, I will go about the same time. But it is still interesting to compare how much difference there is between reality and randomly. – Viktor Mellgren Dec 10 '15 at 13:27