Thirty identical candies are to be given to five children. Every child must receive some candies, and no child may receive an odd number of candies. How many distributions are possible?
1001
Step-by-Step Solution
Key idea: this is a parity-restricted identical-object distribution question. The phrase "some candies" means each child gets at least one, and "no child may receive an odd number" means each share is even. So each share must be a positive even number.
Step 1: Let child receive candies. We need
,
where each is even and positive.
Step 2: Use the substitution . Since is positive even, must be a positive integer: .
Step 3: Substitute into the total:
.
Divide by :
.
Step 4: Count positive integer solutions. For positive variables summing to , the number is
.
Step 5: Compute:
.
Answer: .
Common trap: if you allow , you are allowing a child to receive zero candies. That violates "every child must receive some candies".