EngineeringRise

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

  1. 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.
  2. By symmetry A is left of B in exactly half of these, because swapping A and B keeps them non-adjacent.
  3. 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

Test your answers now

Report an error

Think the question, answer or a step is wrong? One tap tells us. We check it and publish the correction.