Draw n times with replacement from m equally likely categories. Return the
expected number of distinct categories you end up seeing.
Do not try to count subsets. Give each category an indicator for "was seen" and add the expectations:
Linearity of expectation does not care that the indicators are dependent, which is what makes this one line instead of a summation over cases.
Input
n = 10
m = 10
Output
6.513215599