[Math] How many ways are there to distribute 6 distinguishable objects into 4 indistinguishable boxes so that each of the boxes contain at least 1 object

combinatoricsprobability

How many ways are there to distribute 6 distinguishable objects into 4 indistinguishable boxes so that each of the boxes contain at least 1 object?

Can anyone tell me how should I approach this question? I'm kinda stuck 🙁

I'm quite bad at questions involving placing indistinguishable objects into distinguishable boxes/ distinguishable objects into indistinguishable boxes and etc. Any tips on how to approach this kind of questions?

Best Answer

If we let s be the number of ways to do this, then the number of ways to distribute 6 distinguishable objects into 4 distinguishable boxes so that no box is empty is given by $4!(s)=24s$,

$\;\;\;$since there are $4!$ ways to label the boxes.

We can also count the number of ways to distribute the objects into 4 distinguishable boxes so that no box is empty using Inclusion-Exclusion:

If $T$ is the set of all distributions, and $A_i$ is the set of distributions with box i empty, for $1\le i\le 4$,

then $\lvert A_1^c\cap\cdots\cap A_4^c\lvert=\lvert T\lvert-\dbinom{4}{1}\lvert A_1\lvert+\dbinom{4}{2}\lvert A_1\cap A_2\lvert-\dbinom{4}{3}\lvert A_1\cap A_2\cap A_3\lvert$

$\hspace{1.3 in}=\displaystyle 4^6-4\cdot3^6+6\cdot2^6-4\cdot1^6=1560$,

so $24s=1560$ and therefore $s=65$.


This answer is $S(6,4)$, a Stirling number of the second kind.