The number of ways to distribute 30 identical candies among four children and so that receives atleast 4 and atmost 7 candies, receives atleast 2 and atmost 6 candies, is equal to
- Option A: 205
- Option B: 615
- Option C: 510
- Option D: 430
Solution
Core idea. Fix the limited shares first and share the rest freely.
Concept refresher. The number of ways to share identical objects between two people is
since the first person can receive any number from 0 to .
Picture the situation. The candies are identical, so a distribution is fixed by the four shares. The shares of and are limited to 4 to 7 and 2 to 6. Once these two shares are chosen, the candies left are split between and with no restriction.
Approach. Count the ways for one pair of restricted shares and add over all the pairs.
Step 1: One pair of shares
If gets and gets candies, the other are split between and in ways.
Step 2: Add over the pairs
There are pairs . Over them, the values of add to and the values of add to .
Step 3: The total
Adding over the 20 pairs, the number of ways is .
Answer. (D) 430
Sanity check. The average of is , and .
Why the other options are wrong
- (A) The value 205 would need an average of about 10 ways per pair of shares; the average is 21.5.
- (B) The value 615 is close to , which forgets to subtract the shares of the two restricted children.
- (C) The value 510 would need an average of 25.5 ways per pair of shares; the average is 21.5.
Key takeaway
The trap. Each pair of restricted shares leaves a different number of candies.
How toppers think. They multiply the number of pairs by the average number of ways.
Remember.
More on Distribution Problems
- A person has three different bags and four different books. The number of ways, in which he can put these…
- A building has ground floor and 10 more floors. Nine persons enter in a lift at the ground floor. The lift…
- Let A = {(a, b, c): a, b, c; are non-negative integers and; a + b + 2c = 22}. Then n(A) is equal to:
- All 19 on Distribution Problems ›