Quoto

Learn / Library / Combinatorics

Nobody sits adjacent

CombinatoricsHard

A row has chairs. distinct people sit in different chairs so that no of them occupy neighbouring chairs. How many seatings are possible?

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

First choose which chairs are used, by placing the empty chairs and inserting people into the gaps.

Solution
  1. Line up the empty chairs, which create gaps where a person may sit, with at most one person per gap.
  2. Choosing gaps gives sets of chairs with no neighbours.
  3. The distinct people can be assigned to the chosen chairs in ways.
  4. Multiplying gives .
  5. Hence the number of seatings is .

Answer: