染色球合并:期望步数
n balls in a bag
题目详情
There are balls in a bag, colored from 1 to . In each step, a pair of balls is chosen uniformly at random from all the pairs of differently colored balls, and then the second ball of the chosen pair is painted with the color of the first ball. Finally, both balls are placed back into the bag. What is the expected number of steps it takes for all the balls to be of the same color?
解析
设 为最终所有球同色所需步数。
对每种颜色 ,记录“颜色 的球数”在每次发生变化时的取值序列,可证明它等价于在 上、从 1 出发的对称随机游走,吸收于 0 或 。
令 为颜色 被选入那对球的总次数,则有
由对称随机游走从 1 到达 的期望时间为 ,故 ,于是