Q. There are balls of different colours and boxes of different sizes. Each box can hold all the six balls. The balls are put in the boxes so that no box remains empty. The number of ways this can be done is

 4068  224 Permutations and Combinations Report Error

Solution:

Each ball has choices. Hence the total number of ways of distribution

But this includes two cases
(i) One box is empty.
(ii) Two boxes are empty.
The no. of ways in which this happens =
Hence the reqd. no.