$n-$circular arrangement problem Find the number of ways to arrange $n$ people in a circle so  that $3$ people are separated.
My approach: The number of ways to arrange $n$ people in a circle is $(n - 1)!$. If the $3$ people are together, the number of arrangement is $(n - 3)!$. The $3$ people can rearrange themselves in $3!$ ways, the number of ways for the $3$ people together is $3!(n - 3)!$. Therefore, the number of ways so that none of the $3$ people is seated together is $(n - 1)! - [3!(n - 3)!]$. Is that correct? If not, where did I go wrong? For instance, 4 girls and 3 boys to be arranged in a circle so that none of the boys is together. In this case, we have $(7 - 1)! - [3!(7 - 3)!] = 576$.
Any help is appreciated.
 A: As I understand it there are $n$ people, and among them $3$ given "special persons"  $A$, $B$, $C$ that should not sit next to each  other. (In your computation you only excluded the cases where all three sit together in adjacent seats.)
Take three chairs away from the table, and let $A$, $B$, $C$ hold them. Then seat the $n-3$ ordinary people  arbitrarily. Considering the rotation symmetry this can be done in $(n-4)!$ ways. These $n-3$  people around the table leave between each other $n-3$ spaces. Each of these spaces can accept $\leq1$ special persons. $A$, $B$, $C$ select one of these spaces in turn. This can be done in $(n-3)(n-4)(n-5)$ ways.
The total number $N$ of allowed seatings therefore is
$$N=(n-3)!\>(n-4)(n-5)\ .$$
A: Comment of @Christian Blatter might be helpful to you in counting the missing cases. However, here's an alternate method.
Let the three people be $P_1,\ P_2,\ P_3$ and the number of people between $P_1P_2,\ P_2P_3,\ P_3P_1$ be $x_1,\ x_2,\ x_3$ respectively. Now, we've to find number of positive integral solutions of the equation $$x_1+x_2+x_3=n-3$$ Also, the $n-3$ people can arrange themselves in $(n-3)! $ ways and the three people in $2! $ ways.
The total no. of ways are $\displaystyle{{n-4}\choose 2}×(n-3)!×2! =(n-3)!(n-4) (n-5) $.
A: Since 3 people must not sit together the no.of of ways to choose 3 people from $n$ is  here $\binom{n}{3}$ and since we can arrange them in 2! ways (in a circle) it will be $\binom{n}{3} 2!$ . And the remaining no.of of people are $n-3$ and since there are 3 spaces between 3 people (on a circle) so no.of solutions of $x_1 + x_2 + x_3 = n-3 , x_1 , x_2 , x_3 \geq 1 \Rightarrow $ solutions of $ y_1 + y_2 + y_3 = n-6$ viz. $\binom{n-4}{2}$ and the number of ways to arrange $n-3$ objects in a row is $(n-3)!$. So finally we get $ \binom{n}{3} 2! (n-3)! \binom{n-4}{2}$.
I hope this answer is fine. Any tiny errors, correct me!!
