8 男 7 女排座:异性相邻对数的期望
Eight boys and seven girls
题目详情
Eight boys and seven girls went to the movies and sat in the same row of 15 seats. Assuming that all the 15 ! permutations of their seating arrangements are equally likely, compute the expected number of pairs of neighbors of different genders.
解析
对每个相邻位置 定义指示变量 (异性则 1)。则期望为
而
所以