test Let
Suppose that you have a pool of n different types of coupons (one of each) and
want to sample k coupons with replacement. What is the distribution of the
random variable X, which counts the number of distinct coupons observed with
each k-sized sample? I was unable to come up with a closed-form solution on my
own, instead resorting to simulation and brute force. This captures a solution
I was able to find by searching online and putting the pieces together. I've
written the equations below in approximate Wolfram language syntax, since math
typesetting is not available.