Mathematics (JEE)HardTCS NQT · Accenture

How many 5-digit numbers with distinct digits chosen from 1, 2, ..., 7 have the digits 1 and 2 in adjacent positions?

  1. A. 240
  2. B. 480
  3. C. 1200
  4. D. 2520

Correct answer: B. 480

Choose 3 more digits from {3,...,7}: C(5,3) = 10. Glue 12 or 21 into one block with 2 internal orders: 4 units give 4! × 2 = 48 arrangements. Total 10 × 48 = 480.

More Permutations, Combinations and Probability questions

Exams that ask this topic