Exercise 1006Combinatorics › Inclusion-exclusionL1Added 3 Nov 2026
Counting surjections via inclusion-exclusion
#surjections#onto#IE
Statement
Count surjective functions from an -element set to an -element set (with ).
Hint
IE on "function misses element ".
Show solutionHide solution
Solution
Sets. functions missing target .
Intersection. .
IE.
Conclusion. .
Example. , : .