连续两次相同:游戏结束期望
Either two heads/tails
题目详情
We play a game, with a fair coin. The game stops when either two heads (H) or tails (T) appear consecutively. What is the expected time until the game stops?
解析
设 为停止抛掷次数。对 ,序列长度为 且首次在末尾形成 HH 或 TT 的概率为 ,因此
Either two heads/tails
We play a game, with a fair coin. The game stops when either two heads (H) or tails (T) appear consecutively. What is the expected time until the game stops?
设 为停止抛掷次数。对 ,序列长度为 且首次在末尾形成 HH 或 TT 的概率为 ,因此