In how many ways can 7 people be seated at a round table if 2 particular people must not sit next to each other?
The formula for n people to sit
1. in a straight line is n!.
2. at a round table there is (n-1)!.
If it would not matter if the 2 particular people sat next to each other
then the answer would be (7-1)! or 6! or 720.
But from those 6! or 720 ways, we must subtract the number of ways
those two particular persons can sit next to each other.
The cases we must subtract are the ways of seating 6 "things" around the
table. 5 single people and and one "pair". That would be (6-1)! or 5!
or 120 ways.
However, there are two ways the "pair" could sit, A left of B or A right
of B. So we double the 120 ways to 240 ways. So we must subtract 240 ways
from the 720.
Answer: 720-240 = 480 ways.
Edwin