If 3 red, 3 blue, and 3 green balls are randomly divided into three groups of three balls each, what is the probability that none of the groups have all the balls of the same color?
My attempt:
Let $A$ be the event that all groups have all balls of the same color. There is 1 way that this can occur, irrespective of inter-group ordering and considering same-colored balls to be indistinguishable.
Let $B$ be the event that exactly one group has all balls of the same color. One group of identically-colored balls can be chosen $\binom{3}{1}=3$ ways. The remaining two groups are totally determined by the initial identically-colored group, as they both must consist of two balls of one of the remaining two colors and one ball of the other remaining color. This again is irrespective of the ordering of groups or of balls within groups.
So there are $3+1=4$ ways that $A\cup B$ can occur.
There are 8 total possible outcomes: 4 outcomes belonging to $A \cup B$, 1 outcome in which all three groups contain one ball of each color, and 3 outcomes in which one group contains all differently-colored balls and the other groups contain the remaining balls.
Thus, the probability of $(A \cup B)^C$ is $\frac{1}{2}$.
Am I correct? And, is there a more generalized and efficient way to solve this sort of problem? Took me far too long...