Mathematics (JEE)Moderate
The letters A, A, B, B, C, C, D, D are arranged in a row in all distinct ways. How many arrangements have no two identical letters next to each other?
- A. 2520
- B. 864
- C. 1080
- D. 240
Correct answer: B. 864
Inclusion–exclusion over the set of letter-pairs that end up adjacent: Σ (−1)ᵏ C(4,k) (8 − k)!/2^(4−k) = 2520 − 2520 + 1080 − 240 + 24 = 864. Stopping after the first term gives 2520, and keeping only the k = 2 term gives 1080.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Three cells are chosen from a 3 × 3 grid so that no two of them lie in the same row or the same column. How many ways are there to choose…
- Ordered triples (a, b, c) are chosen from {1, 2, …, 10} with a < b and c ≥ b. How many such triples are there?
- How many four-digit numbers are divisible by 3 and have every digit odd?
- How many functions f from {1, 2, 3, 4} to itself satisfy f(f(x)) = f(x) for every x?
- How many non-negative integer solutions does a + b + c + d = 8 have if a ≤ 2 and b ≤ 3?
- Five identical coins are placed into three distinct boxes (a box may stay empty). In how many ways can this be done if the first box…