Draw uniformly at random from m categories with replacement. Return the
expected number of draws needed before you have seen every one.
Split the wait into stages. Once you hold i distinct categories, each draw is
new with probability , so that stage takes draws on average:
The last few coupons dominate: collecting the final one alone takes m draws.
Input
10
Output
29.289682539682538