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

Surjections from $4$ to $3$

#surjections#IE#count

Statement

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

Hint

IE: 34−3⋅24+3⋅143^4-3\cdot2^4+3\cdot1^4.

Show solutionHide solution

Solution

Compute. 81−48+3=3681-48+3=36.

Alternative. 3! S(4,3)=6⋅6=363!\,S(4,3)=6\cdot6=36.

Conclusion. 3636 surjections.