Mathematics · Ch 4 — Combinatorics and Mathematical Induction
No two things are together (Gap method)
4.4.4
No two things are together (Gap method)
No two of a group of objects may be adjacent — the 'gap' method.
To permute distinct objects so that no two of a specified set of objects are ever adjacent, with the remaining objects unrestricted:
- First arrange the unrestricted objects in a row: ways.
- This creates gaps — one before the first object, one between each consecutive pair, and one after the last (so internal gaps plus the 2 end gaps ).
- Place the restricted objects into these gaps, at most one per gap (so no two land in the same gap and hence never sit next to each other): ways.
- By the rule of product, the total is …