Maths WorkshopMaths problems with full solutions
Exercise 1001Combinatorics › Inclusion-exclusionL1Added 3 Nov 2026

Surjections from $5$ to $3$

#surjections#IE#count

Statement

Count surjections from a 55-element set to a 33-element set.

Hint

IE: 35−3⋅25+3⋅153^5-3\cdot2^5+3\cdot1^5.

Show solutionHide solution

Solution

Compute. 243−96+3=150243-96+3=150.

Alternative. 3! S(5,3)=6⋅25=1503!\,S(5,3)=6\cdot25=150.

Conclusion. 150150 surjections.