Number of distributions of $r$ distinct objects into $n$ different boxes

789 Views Asked by At

Find an exponential generating function for the number of distributions of $r$ distinct objects into $n$ different boxes w/ exactly $m$ nonempty boxes

I'm not sure about the solution, but this is what I obtained after using some identities: $$ (e^x - 1)^m (1)^{n-m}. $$ Is this correct?