弹珠游程数
Marble Runs
题目详情
袋中有 50 个红球和 50 个蓝球,不放回随机抽取直到抽完,并记录颜色序列。
定义“游程(run)”为任意长度的连续同色段。例如 有 5 个游程。
求游程总数的期望。
You repeatedly draw marbles from a bag containing 50 red and 50 blue marbles until there are no more marbles left, recording the order of red and blue marbles drawn. You then count the number of "runs," where a run is defined as any number of consecutive marbles of the same color. For example, contains 5 runs. What is the expected number of runs that you observe?
解析
设总游程数为
其中 表示第 与第 个球颜色不同的指示变量。
于是
随机排列下,任意相邻两位置异色概率为
因此
答案为 。