2023 AIME I Problem 10

Below is the professionally curated solution for Problem 10 of the 2023 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2023 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:floor and ceiling functionssummationmodular arithmetic

Difficulty rating: 2990

10.

There exists a unique positive integer aa for which the sum U=n=12023n2na5U = \sum_{n=1}^{2023} \left\lfloor \frac{n^2 - na}{5} \right\rfloor is an integer strictly between 1000-1000 and 1000.1000. For that unique a,a, find a+U.a + U.

(Note that x\lfloor x \rfloor denotes the greatest integer that is less than or equal to x.x.)

Solution:

Ignoring the floors, n=12023n2na5=15(n2an)\sum_{n=1}^{2023} \frac{n^2 - na}{5} = \frac{1}{5}\left(\sum n^2 - a\sum n\right) vanishes exactly when a=n2n=22023+13=1349,a = \frac{\sum n^2}{\sum n} = \frac{2 \cdot 2023 + 1}{3} = 1349, an integer. For any other integer aa the raw sum has absolute value at least 15n=202310125409455,\frac{1}{5}\sum n = \frac{2023 \cdot 1012}{5} \approx 409455, while taking floors changes the total by less than 2023,2023, so only a=1349a = 1349 can put UU strictly between 1000-1000 and 1000.1000.

With a=1349,a = 1349, each term is n21349nrn5\frac{n^2 - 1349n - r_n}{5} with rn=(n21349n)mod5,r_n = (n^2 - 1349n) \bmod 5, so U=15rn.U = -\frac{1}{5}\sum r_n. Since 13494(mod5),1349 \equiv 4 \pmod 5, we have n21349nn(n+1)(mod5),n^2 - 1349n \equiv n(n+1) \pmod 5, whose residues for n0,1,2,3,4n \equiv 0, 1, 2, 3, 4 are 0,2,1,2,0,0, 2, 1, 2, 0, summing to 55 per block of five. With 2023=5404+3,2023 = 5 \cdot 404 + 3, the leftover terms n1,2,3n \equiv 1, 2, 3 contribute 2+1+2=5,2 + 1 + 2 = 5, so rn=4055=2025.\sum r_n = 405 \cdot 5 = 2025.

So U=20255=405,U = -\frac{2025}{5} = -405, which indeed lies strictly between 1000-1000 and 1000,1000, and a+U=1349405=944.a + U = 1349 - 405 = 944.

← Problem 9Full ExamProblem 11

Problem 10 in Other Years