Counting & ProbabilityMedium
Counting & Probability · Medium problem
How many functions from a -element set onto a -element set are surjective (i.e., every element of the codomain is hit)?
How many functions from a -element set onto a -element set are surjective (i.e., every element of the codomain is hit)?