Exercise 878Combinatorics › Counting principlesHigh schoolAdded 3 Nov 2026
Combinations with repetition
#combinations with repetition#stars and bars
Statement
How many ways can we distribute identical candies among distinct children (children may receive zero)?
Hint
Stars and bars: .
Show solutionHide solution
Solution
Stars and bars. Represent the distribution with stars and bars (dividers between children). Number of arrangements: .
Conclusion. There are distributions.