Counting & ProbabilityMediumDistributions: Stars & Bars and Integer Solutions
Distributions: Stars & Bars and Integer Solutions · Medium problem
How many functions from a -element set onto a -element set are there (that is, surjections)?
How many functions from a -element set onto a -element set are there (that is, surjections)?