UPSC CSAT 2022 Q24: Arrangements with Two Letters Between — Solved

The letters A, B, C, D and E are arranged in such a way that there are exactly two letters between A and E. How many such arrangements are possible?

  1. 12
  2. 18
  3. 24
  4. 36

Answer: (c) 24

Solution

  1. There are 5 places in a row, numbered 1 to 5. Five different letters fill them, one letter in each place.
  2. "Exactly two letters between A and E" means the positions of A and E differ by 3. If A and E sit in positions p and q, then q − p = 3.
  3. List the position pairs that differ by 3 in a row of 5: - (1, 4): positions 2 and 3 lie between them. Valid. - (2, 5): positions 3 and 4 lie between them. Valid. - (3, 6): position 6 does not exist. Not valid. So there are 5 − 3 = 2 possible position pairs.

  4. In each pair, A can take the left place and E the right, or the other way round. That gives 2 orders for each pair. Ways to place A and E = 2 × 2 = 4.

  5. Once A and E are placed, B, C and D fill the 3 empty places in any order: 3! = 3 × 2 × 1 = 6 ways.

  6. Total arrangements = 4 × 6 = 24.
  7. Cross-check with the block method. Make the block A _ _ E. Fill its two middle places from B, C, D, in order: 3 × 2 = 6 ways. The block and the one leftover letter can be arranged in 2! = 2 ways. A and E can swap ends: 2 ways. Total = 6 × 2 × 2 = 24.

Answer: 24

Option-wise explanation

  • a: incorrect — 12 is 2 position pairs × 3! = 12. It forgets that A and E can swap places. It is also the count for exactly three letters between A and E: 1 × 2 × 6 = 12.
  • b: incorrect — 18 = 3 × 6 comes from counting 3 position pairs and then forgetting the A–E swap. Every valid count has the form (pairs) × 2 × 6, so it must be a multiple of 12. 18 is not.
  • c: correct — There are 2 position pairs, (1,4) and (2,5). A and E can sit in 2 orders, and the other three letters fill the rest in 3! = 6 ways. 2 × 2 × 6 = 24.
  • d: incorrect — 36 = 3 × 2 × 6 is the count for exactly one letter between A and E, which has 3 position pairs. The trap is miscounting the gap: you have to go 3 positions apart, not 2.

How to eliminate

Any valid count is (number of position pairs) × 2 × 3!, which is a multiple of 12. That removes 18 straight away. To decide between 12, 24 and 36, find the position pairs for A and E: they must be 3 apart in a row of 5, which gives only (1,4) and (2,5). So the count is 2 × 2 × 6 = 24. Two quick checks catch the usual slips. 12 means you forgot the A–E swap. 36 means you allowed only one letter between them. About 30–45 seconds. Attempt this one first: it is a direct, low-risk mark.

Know more

Exactly k objects between X and Y in a row of n

Use three steps:

  1. Position pairs: X and Y must be k + 1 places apart. The number of such pairs is n − k − 1.
  2. Order of X and Y: × 2.
  3. The rest: the other n − 2 objects fill the remaining places in (n − 2)! ways.

Total = (n − k − 1) × 2 × (n − 2)!

For n = 5, here is every possible gap:

Letters between A and E (k) Position pairs Arrangements
0 (adjacent) 4 4 × 2 × 6 = 48
1 3 3 × 2 × 6 = 36
2 2 2 × 2 × 6 = 24
3 1 1 × 2 × 6 = 12
Total 120 = 5!

The rows add up to 5! = 120. That is a useful self-check. It also shows where distractors such as 36 and 12 come from.

Worked variant: Six people P, Q, R, S, T, U sit in a row. Exactly one person sits between P and Q. How many arrangements are possible? Position pairs = 6 − 1 − 1 = 4. Order of P and Q = 2. Others = 4! = 24. Total = 4 × 2 × 24 = 192.

Watch out: "at least k between" means adding the rows for k, k + 1, and so on. In a circle, every seat has a pair at each gap, so the row formula does not apply.