Five balls of different colors are to be placed in 3 boxes of different size. Each box can hold all five. In how many different ways can we place the balls so that no box remains empty?
Open in App
Solution
As no box should remain empty, boxes can have balls in the following numbers: Possibilities 1,1,3 or 1,2,2 Division ways for tree (i) is 5!(1!)23!2! Division ways for tree (ii) is 5!(2!)21!2! Now, total number of ways of distribution of these groups into three boxes is [5!(1!)23!2!+5!(2!)21!2!]×3!=150.