Problem Statement
In how many ways can 10 identical balls be put into 4 distinct boxes if boxes can be empty?
Explanation
Use stars and bars for nonnegative integer solutions to x1+x2+x3+x4=10. The count is C(10+4−1, 4−1) equals C(13,3) equals two hundred eighty six.
Code Solution
SolutionRead Only
C(13,3) = 286
Practice Sets
This question appears in the following practice sets:
