6 次抛硬币恰好出现一段 3 连正面
Three Repeat II
题目详情
公平硬币抛 6 次。求“某处恰好出现连续 3 个正面(H)”的概率。
A fair coin is flipped times. Find the probability of obtaining exactly consecutive heads somewhere in the flips.
解析
符合条件的序列形状可分为 4 类:HHH???、?HHH??、??HHH?、???HHH,并要求相邻处不能扩展出更长连串。
计数结果为 12 个序列,因此概率为
Original Explanation
We have 4 forms that the sequence can be in, which are , , , and . Note that the first and second are respectively the reflection of the fourth and third sequences, so we can just do the first two sequences and then multiply by . For the first sequence, the 4th flip must be tails, but the other two can be either parity, so this yields possibilities. For the second outcome, the first and second dashes must be , but the last can be either, so this yields outcomes. Therefore, we have a total of sample points that have a single run of three heads, so the probability is .