Here is a question which was posted by someone and then deleted...
I have 5 red balls and 4 blue balls (assume balls have the same size). Divides balls into 3 different boxes, each box has 3 balls. What is the probability so that there is a least a box which 3 balls in it have the same color.
Here is how I solve it: We have a following possible configurations: $$ 3r0b+0r3b+2r1b$$ $$ 3r0b+1r2b+1r2b$$ $$ 3r0b+2r1b+0r3b$$
$$ 2r1b+0r3b+3r0b$$ $$ 2r1b+1r2b+2r1b$$ $$ 2r1b+2r1b+1r2b$$ $$ 2r1b+3r0b+0r3b$$
$$ 1r2b+1r2b+3r0b$$ $$ 1r2b+2r1b+1r2b$$ $$ 1r2b+3r0b+1r2b$$
$$ 0r3b+2r1b+3r0b$$ $$ 0r3b+3r0b+2r1b$$
So there is 9 good configuration among 12 and thus the probability is $0,75$.
Have I missed something? Is there quicker way?
Observe that since each box must have $3$ balls, a configuration is entirely determined by where you put the blue balls.
The stars and bars formula tells you that there are ${6\choose 2}=15$ ways to put the $4$ blue balls in three labelled boxes. Out of these $15$ ways, three are forbidden, where all blue balls are in the same box ($4$ balls in one box is too many). Therefore, $12$ configurations.
Out of these $12$ configurations, the only way to not have three balls of the same color in one box is to have at least one blue in every box (and not three in the same box, but this is automatic since there are four blue).
Once you have put a blue ball in each box (no choice to make here), your only choice is where to put the last one, there are $3$ options. Therefore three out of twelve configurations do not have one box with all balls of the same color.