Numerical answer
Ten identical sweets are to be distributed among five children, each child receiving at most sweets (a child may receive none). The number of ways to do this is
Show answer and solution
Answer: 101
The count equals the coefficient of in . Expand: and . The coefficient of is . Equivalently, by inclusion-exclusion: all distributions , minus those where some child gets at least (), plus those where two children each get at least (); three children would need at least sweets, impossible. The answer is , matching direct polynomial expansion.
Saved on this device. Sign in or create a free account to keep it on every device.