Q.
Number of ways in which 3 boys and 3 girls can be seated in a row where two particular girls do not want to sit adjacent to a particular boy is_____.
Let G1 and G2 be the girls who do not want to sit with boy B1. ×1×2×3×4×5×6
Case I: B1 occupies the first or sixth place.
If B1 occupies first place, then G1 and G2 cannot sit at second place.
So, G1 and G2 can be seated at four places (3,4,5,6) in 4P2 ways.
At remaining three places, two boys and one girl can be seated in 3! ways.
So, number of ways in this case =4P2×3!=72
Similarly, if B1 occupies sixth place, number of ways will be 72 .
Case II: B1 occupies second, third, fourth or fifth place.
If B1 occupies second place, G1 and G2 cannot sit at first or third place.
So, G1 and G2 can be seated at fourth, fifth or sixth place in 3P2 ways.
At remaining three places, two boys and one girl can be seated in 3! ways.
So, number of ways in this case =3P2×3!=36
Similarly, if B1 occupies third, fourth or fifth place number of ways is 36 .
From above two cases, total number of ways =72×2+36×4=288