2024 AMC 10B Problem 4
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?
Show solution without answering
Key insight
Step 63 ends at ball 2016, so ball 2024 is in step 64. Bins repeat every 5 steps, and step 64 lands on bin D.
Solution
There are two separate questions: which step puts ball in a bin, and which bin that step uses.
Which step?
- Step uses ball, step uses balls, step uses balls, and so on. So the last ball of each step is:
| step | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| last ball | 1 | 3 | 6 | 10 | 15 |
2. The last ball of step is .
3. We want this to be close to . Then is close to , and is about . Since , try :
4. So step ends with ball . Step holds the next balls, through , and ball is among them.
Which bin?
- Steps use bins . Then steps use again, and so on. So only the remainder when the step number is divided by matters:
| remainder | 1 | 2 | 3 | 4 | 0 |
|---|---|---|---|---|---|
| bin | A | B | C | D | E |
- Check with the example: step leaves remainder , which is bin , just as the problem says.
- Step : , remainder , so bin .
The answer is .
Why this works
When a process adds items per step, the running totals are the triangular numbers . To find where a large number falls, estimate with a square root and then check the exact totals on each side. The bin is a separate question that repeats every steps, so it depends only on the remainder. Always test your rule against the example the problem gives you.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
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 .
Review in the AoPS books
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Intermediate Algebra, Chapter 17: More Sequences and Series (§17.1, §17.2)
- Introduction to Number Theory, Chapter 10: Units Digits
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2024 12B #4.