Placement AptitudeVery hardProduct company OA · CAT level
Three identical red, three identical blue and three identical green balls are arranged in a row. In how many arrangements are no two balls of the same colour next to each other?
- A. 168
- B. 216
- C. 180
- D. 174
Correct answer: D. 174
First arrange the 3 blue and 3 green balls (20 ways), then drop the 3 reds into 3 of the 7 gaps (including the ends), one red per gap. If the blue–green row has m equal neighbouring pairs, a red must go into each of those m gaps and the other 3 − m reds into any of the remaining 7 − m gaps: C(7 − m, 3 − m) ways. Rows with m = 0, 1, 2, 3, 4 equal pairs number 2, 4, 8, 4, 2 (m = 4 is BBBGGG or GGGBBB, which would need 4 reds). Total 2·C(7,3) + 4·C(6,2) + 8·C(5,1) + 4·C(4,0) = 70 + 60 + 40 + 4 = 174. 216 = 6³ ignores the identical balls.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Six beads are placed at equal spacing on a circular ring; each bead is black or white. Two rings are considered the same if one can be…
- Three vertices of a regular 12-sided polygon are chosen at random. What is the probability that the triangle they form contains the centre…
- Four identical H cards and four identical T cards are shuffled and laid in a row. A 'run' is a maximal block of consecutive identical…
- A bag has 3 white and 7 black balls. Two players take turns drawing one ball at a time without replacement, Priya first. The first player…
- How many six-digit numbers (100000 to 999999) have digits that add up to 27?
- Eight books standing in positions 1 to 8 on a shelf are taken down and put back so that every book ends up either in its original position…