Five balls are to be places in three boxes. Each can hold all the five balls. In how many different ways can we place the balls so that no box remains empty, if balls as well as boxes are identical but boxes are kept in a row ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Since we need that no box remains empty, we put one ball in each box. We remain with two balls. Now we have 3 ways to put the remaining balls in only one box and 3 ways to put the balls in all but one box. So the answer is 3 + 3 = 6 . Note: since the boxes are put in a row we can consider that the boxes are in fact different one from another.