The expected number of picks needed equals the sum of the probabilities that at least picks are needed, which means that subsets left at least one value uncovered. We can use inclusion-exclusion to get the probability that at least one value is uncovered.
The probability that a particular set of values is uncovered after subsets are chosen is
So, by inclusion-exclusion, the probability that at least one value is uncovered is
And then the expected number of subsets needed to cover everything is
Change the order of summation and use :
The inner sum is a geometric series.
I'm sure that should simplify further, but at least now it's a simple sum. I've checked that this agrees with the coupon collection problem for .
Interestingly, Mathematica "simplifies" this sum for particular values of , although what it returns even for the next case is too complicated to repeat, involving EulerGamma, the gamma function at half-integer values, and PolyGamma[0,1+n].
No comments:
Post a Comment