- There are $3$ boys and $3$ girls. How many ways can they be arranged in a way that two girls won't be together?
Instead of making things harder, I directly write an assumption as illustrated below
$$\text{All permutations = Total possibilities - Two girls are together}$$
We already notice that total possibilities should be $6!$. Let's calculate the permutation of two girls are together. Recall that $K$ represents Girls, $E$ represents boys.
Entity $1$: $K_1K_2 \implies 1$
Entity $2$: $B_1B_2B_3K_3 \implies 4$
Entity $1$ and $2$: $5!$
And girls can be rearranged in $2$, which yields $5!\times 2!$. Plugging into the equation we wrote
$$6!-5!\times 2! = 480$$
However, the final answer I got should be wrong. Can you assist?
All the ways to seat all of the people
$6!$
At least $2$ girls together.
We attach 2 girls, and allocate $5$ objects. Making for $5!$ allocations
$5!$ But we can swap the order of the girls. And we have 3 girls who we can make the "odd-man-out"
$5!\cdot 6 = 6!$
But we have double counted all of the cases where we have all 3 girls together.
$4!3!$
$6! - (6! - 4!3!) = 4!3! = 144$