How many ways are there to put $22$ identical balls into $5$ boxes, with each box receiving at least $2$ balls?
The answer is $16$ choose $4$, i.e., $_{16}C_4$, but can someone explain it to me?
How many ways are there to put $22$ identical balls into $5$ boxes, with each box receiving at least $2$ balls?
The answer is $16$ choose $4$, i.e., $_{16}C_4$, but can someone explain it to me?
On
As we have at least two balls in each box, we know where 10 of the balls will be, so the question is equivalent to asking how many ways (up to reordering) we can put 12 balls in 5 boxes. This is the same as asking how many ways we can express 12 as a sum of 5 non-negative integers. There are 45 possible ways of doing this:
So there are 45 possible ways of placing 12 identical balls into 5 identical boxes, and hence 45 possible ways of placing 22 identical balls in 5 boxes such that every box contains at least 2 balls.
This is a classic stars and bars problem. The solution you have presumes that you must put at least two balls in each box. Is that correct?