0:00
Probability 2.0/10

Like Next to Like

Ten red balls and ten blue balls are arranged in a row of 20 positions, with all C(20,10) colour patterns equally likely. Of the 19 pairs of adjacent positions, what is the expected number of pairs in which both balls have the same colour? Give an exact number.

Related problems

Source: Standard indicator-variable exercise in wide circulation; no traceable original source. Statement written for AxiomIQ.