Q. A box has 18 balls, 6 white balls numbered 1 to 6,6 black balls numbered 1 to 6 and 6 red balls numbered 1 to 6 . We have to divide all 18 balls into 6 groups (groups are not numbered) such that each group consists of one white, one black and one red ball and difference of numbers on any two balls of same group is at most one. Find no. of ways this division can be done.

 699  142 JEE AdvancedJEE Advanced 2019 Report Error

Solution:

Let be total ways of division when there are balls of each colour.
Case I If we make one group remaining balls division can be done in ways.
Case II If we make one group remaining balls division can be done in ways.
Case III If we make one group remaining balls division can be done in ways.
Case IV If we make one group remaining balls division can be done in ways.