Heavenly bodies and poles

I have 4 students: Alice, Bob, Carol, and David.

I have given Alice 1 candy, Bob 2 candies, Carol 3 candies, and David 4 candies.

In how many other ways could I have distributed the 10 candies among them such that each student received at least one candy?


The answer is 83.

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

Classic stars and bars problem. If there were to be no restriction on how many candies each person would receive, there would be ( 13 3 ) {13 \choose 3} ways to distribute the candy. Factoring in the one candy restriction, there are now ( 9 3 ) = 9 ! 6 ! 3 ! = 84 {9 \choose 3} = \frac{9!}{6!*3!} = 84 ways to distribute the candy. Given that the problem gave one way the candy could be distributed, we are counting all other ways it could be distributed. Therefore the answer is 84 1 = 83 84 - 1 = \boxed{83}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...