8 new employees are assigned to 3 different departments. How many differents ways of assigning the employees exist if each department has to receive at least one employee?
At first I thought to work with the departments as sets but I think that is not possible beacuse the problem does not say that the employees can work in one or more departmets. Is working with the departments as sets the right option?
The number of ways to map $8$ people into $3$ departments is $N(0)=3^8$. The number of ways to miss a particular department would be $\binom{3}{2}2^8$. The number of ways to miss two particular departments would be $\binom{3}{1}1^8$. The number of ways to miss three particular departments would be $\binom{3}{0}0^8$.
Inclusion-Exclusion says there are $$ 3^8-\binom{3}{2}2^8+\binom{3}{1}1^8-\binom{3}{0}0^8=5796 $$ ways to distribute $8$ people among $3$ departments with no empty departments.