Six people A, B, C, D, E and F stand in a row. Find the number of arrangements in which A and B are not next to each other and A stands somewhere to the left of B.
Answer: 240 Status: Verified (T3). Checked by code and independent solves on 2026-11-20.
Solution
- Arrangements with A and B adjacent: glue them, 5! x 2! = 240. So arrangements with A and B not adjacent = 6! - 240 = 720 - 240 = 480.
- By symmetry A is left of B in exactly half of these, because swapping A and B keeps them non-adjacent.
- Required = 480/2 = 240.
Fast method
Not adjacent: 720 - 240 = 480, then half have A on the left: 240.
Expected time: about 110 seconds. Difficulty: medium.
Topic page: Arrangements with conditions and simple applications