掷 5 面骰直到和至少为 5 的期望次数
Sum Exceedance IV
题目详情
反复掷一枚公平 5 面骰(点数为 1..5),直到累计点数和至少为 5。问:期望需要掷多少次?
A fair -sided die with the values on the sides is rolled repeatedly until the sum of all upfaces is at least . Find the expected number of times the die needs to be rolled.
解析
结果为
Original Explanation
We are going to solve the generalized version for sided die with a sum of at least . Let's denote the expected number of rolls needed to obtain a sum of at least starting from a sum of by . Clearly we have that , as we already have a sum of . Further, we have that , as no matter what is obtained, we have a sum of at least .
Then, we have that , as with probability , we obtain the value and we have a total sum of . Similarly, .
By continuing with this pattern, one can prove by induction that .
Therefore, by the Binomial Theorem, .
We applied the Binomial Theorem with and . Therefore, for , our answer is .