Distribution of candies among three children

In how many ways can 20 identical candies be distributed among three children so that each gets at least one candy?


The answer is 171.

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.

1 solution

Sajeeb Kumar
May 10, 2014

Suppose, 20 candies are to be distributed among A,b,c.

If we give 1 candy to a then remaining 19 candies can be distributed between b and c in 18 ways. If we give 2 candies to a then remaining 18 candies can be distributed between b and c in 17 ways

Similarly when a gets 18 candies there is only 1 way to distribute remaining 2 candies between b and c....

So total ways are 18+17+16+.....+1=171

Answer is 171 ways.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...