In how many ways can 7 identical erasers be distributed among 4 kids in such a way that each kid gets at least one eraser but nobody gets more than 3 erasers?
Correct Answer :
16
Solution :
Correct Option: A
Let the number of erasers received by the four kids be and .
We need to find the number of integer solutions to:
subject to the constraints: for each .
Let us first distribute 1 eraser to each of the 4 kids to satisfy the "at least one" condition.
This uses up erasers, leaving erasers to distribute.
Let be the number of additional erasers kid gets.
The new equation is:
where (since ).
We find the total number of non-negative integer solutions to using the stars and bars formula:
ways.
Now we subtract the cases that violate the upper bound condition .
A violation occurs if any kid gets . Since the sum of all values is 3, the only way a kid can get 3 or more is if exactly one kid gets 3 and the rest get 0.
The possible violating distributions are:
(3, 0, 0, 0), (0, 3, 0, 0), (0, 0, 3, 0), and (0, 0, 0, 3).
There are exactly 4 such violating distributions.
Subtracting these violating cases from the total:
Number of valid ways = .
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.