Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

The teacher wants to give some chocolates to the boys of his class. In how many ways can he distribute 10 identical chocolates to 4 boys?

Can someone give an explanation for this answer.

No. of ways = $C_{4-1}^{10+4-1} = 286$

share|improve this question
add comment

1 Answer

Convert the question to a "stars & bars" one: put the ten chocolates in a line, represented by stars: $$\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;$$ You now have 3 bars to place, which will mark the boundaries of each boy's share. For example, if the teacher gave the first boy 5 chocolates, the second boy 2, the third boy 1, and the fourth boy 2, you would place the bars like this: $$\star \;\;\star \;\;\star \;\;\star \;\;\star \;|\;\star \;\;\star \;|\;\star \;|\;\star \;\;\star \;\;$$ If the fourth boy got everything, the bars would be like this: $$|\;\;|\;\;|\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;\star \;\;$$ Overall, you are looking at the number of ways to have 13 symbols in a row, 10 of which are stars and 3 of which are bars. That explains why the answer is $$\binom{13}{3}=286.$$

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.