AMC 10 Step by Step

2024 AMC 10B Problem 4

P1-10~3 minPrint

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?

Log in to save your progress.
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 20242024 in a bin, and which bin that step uses.

Which step?

  1. Step 11 uses 11 ball, step 22 uses 22 balls, step 33 uses 33 balls, and so on. So the last ball of each step is:
step12345
last ball1361015

2. The last ball of step nn is 1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}.
3. We want this to be close to 20242024. Then n(n+1)n(n+1) is close to 40484048, and n⋅nn \cdot n is about 40484048. Since 64⋅64=409664 \cdot 64 = 4096, try n=63n = 63:
63⋅642=2016.\frac{63 \cdot 64}{2} = 2016.
4. So step 6363 ends with ball 20162016. Step 6464 holds the next 6464 balls, 20172017 through 20802080, and ball 20242024 is among them.

Which bin?

  1. Steps 1,2,3,4,51, 2, 3, 4, 5 use bins A,B,C,D,EA, B, C, D, E. Then steps 6,7,8,9,106, 7, 8, 9, 10 use A,B,C,D,EA, B, C, D, E again, and so on. So only the remainder when the step number is divided by 55 matters:
remainder12340
binABCDE
  1. Check with the example: step 77 leaves remainder 22, which is bin BB, just as the problem says.
  2. Step 6464: 64=5⋅12+464 = 5 \cdot 12 + 4, remainder 44, so bin DD.

The answer is (D) D\boxed{\textbf{(D)}\ D}.

Why this works

When a process adds 1,2,3,…1, 2, 3, \ldots items per step, the running totals are the triangular numbers 1,3,6,10,…1, 3, 6, 10, \ldots. 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 55 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 kk deposits kk balls, so after step nn a total of 1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2} balls have been placed. The bin for step kk depends only on k mod 5k \bmod 5: steps 1,2,3,4,51, 2, 3, 4, 5 go to A,B,C,D,EA, B, C, D, E, so remainder 1→A1 \to A, 2→B2 \to B, 3→C3 \to C, 4→D4 \to D, 0→E0 \to E. (Check: step 77 has remainder 22 and indeed uses bin BB.)

We need the step containing ball 20242024. Since n(n+1)2≈2024\frac{n(n+1)}{2} \approx 2024 means n2≈4048n^2 \approx 4048, try n=63n = 63: 63⋅642=2016\frac{63 \cdot 64}{2} = 2016. So step 6363 ends with ball 20162016, and step 6464 covers balls 20172017 through 20802080, which includes 20242024.

Finally 64=5⋅12+464 = 5 \cdot 12 + 4, remainder 44, which is bin DD.

The answer is (D) D\boxed{\textbf{(D)}\ D}.

Review in the AoPS books

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.