Quoto

Learn / Library / Combinatorics

Round table, forbidden neighbours

CombinatoricsMedium

distinct people sit at a round table with identical chairs, and rotations of a seating are considered the same. specific people must not sit in adjacent chairs. How many distinct seatings are there?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Count all circular seatings, then remove those where the pair is adjacent.

Solution
  1. The number of circular seatings of people is .
  2. For the bad seatings, glue the specific people into one block, which gives units around the table.
  3. These units can be arranged in circular ways, and the pair can swap in ways, so there are bad seatings.
  4. Subtracting gives .
  5. Hence the number of valid seatings is .

Answer: