Balls numbered 1, 2, 3, ... are deposited in 5 bins, labeled A, B, C, D, and E, using the following procedure. Ball 1 is deposited in bin A, and balls 2 and 3 are deposited in bin B. The next 3 balls are deposited in bin C, the next 4 in bin D, and so on, cycling back to bin A after balls are deposited in bin E. (For example, balls numbered 22, 23, ..., 28 are deposited in bin B at step 7 of this process.) In which bin is ball 2024 deposited?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Step n ends at triangular number n(n+1)/2; since 2016 < 2024 <= 2080, ball 2024 is in step 64, and 64 mod 5 = 4 means bin D.
Solution
Step deposits balls, so after step a total of balls have been placed. The bin for step depends only on : steps go to , so remainder , , , , . (Check: step has remainder and indeed uses bin .)
We need the step containing ball . Since means , try : . So step ends with ball , and step covers balls through , which includes .
Finally , remainder , which is bin .
The answer is .
Why this works
A process that deposits items per step is governed by triangular numbers; locate the step by solving with a square-root estimate, then verify with the exact values on either side. The bin is a separate, purely periodic question, answered by the step number mod . Always test the mapping against the example the problem supplies.
The trap
Mapping the step number to the wrong bin, e.g. sending step 64 to bin E by treating remainder 4 as the fifth letter or starting the count at zero.
Common mistakes
- Mapping the step number to the wrong bin, e.g. sending step 64 to bin E by treating remainder 4 as the fifth letter or starting the count at zero.
- Using (the ball number) instead of the step number, which gives remainder by coincidence here but is the wrong quantity.
Techniques
Bound the quantity above/below or estimate to pin it down · Set up the equation/formula and compute; no special trick needed