返回题库

AIME 2023 I · 第 10 题

AIME 2023 I — Problem 10

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

There exists a unique positive integer aa for which the sum

U=n=12023n2na5U=\sum_{n=1}^{2023}\left\lfloor\dfrac{n^{2}-na}{5}\right\rfloor is an integer strictly between 1000-1000 and 10001000. For that unique aa, find a+Ua+U.

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

解析

Solution (Bounds and Decimal Part Analysis, Rigorous)

Define {x}=xx\left\{ x \right\} = x - \left\lfloor x \right\rfloor.

First, we bound UU.

We establish an upper bound of UU. We have

Un=12023n2na5=15n=12023n2a5n=12023n=101220235(1349a)UB.\begin{aligned} U & \leq \sum_{n=1}^{2023} \frac{n^2 - na}{5} \\ & = \frac{1}{5} \sum_{n=1}^{2023} n^2 - \frac{a}{5} \sum_{n=1}^{2023} n \\ & = \frac{1012 \cdot 2023}{5} \left( 1349 - a \right) \\ & \triangleq UB . \end{aligned} We establish a lower bound of UU. We have

U=n=12023(n2na5{n2na5})=n=12023n2na5n=12023{n2na5}=UBn=12023{n2na5}UBn=120231{n2na5Z}.\begin{aligned} U & = \sum_{n=1}^{2023} \left( \frac{n^2 - na}{5} - \left\{ \frac{n^2 - na}{5} \right\} \right) \\ & = \sum_{n=1}^{2023} \frac{n^2 - na}{5} - \sum_{n=1}^{2023} \left\{ \frac{n^2 - na}{5} \right\} \\ & = UB - \sum_{n=1}^{2023} \left\{ \frac{n^2 - na}{5} \right\} \\ & \geq UB - \sum_{n=1}^{2023} \mathbf 1 \left\{ \frac{n^2 - na}{5} \notin \Bbb Z \right\} . \end{aligned} We notice that if 5n5 | n, then n2na5Z\frac{n^2 - na}{5} \in \Bbb Z. Thus,

UUBn=120231{n2na5Z}UBn=120231{5n}=UB(202320235)=UB1619LB.\begin{aligned} U & \geq UB - \sum_{n=1}^{2023} \mathbf 1 \left\{ \frac{n^2 - na}{5} \notin \Bbb Z \right\} \\ & \geq UB - \sum_{n=1}^{2023} \mathbf 1 \left\{ 5 \nmid n \right\} \\ & = UB - \left( 2023 - \left\lfloor \frac{2023}{5} \right\rfloor \right) \\ & = UB - 1619 \\ & \triangleq LB . \end{aligned} Because U[1000,1000]U \in \left[ - 1000, 1000 \right] and UBLB=1619<(1000(1000))UB - LB = 1619 < \left( 1000 - \left( - 1000 \right) \right), we must have either UB[1000,1000]UB \in \left[ - 1000, 1000 \right] or LB[1000,1000]LB \in \left[ - 1000, 1000 \right].

For UB[1000,1000]UB \in \left[ - 1000, 1000 \right], we get a unique a=1349a = 1349. For LB[1000,1000]LB \in \left[ - 1000, 1000 \right], there is no feasible aa.

Therefore, a=1349a = 1349. Thus UB=0UB = 0.

Next, we compute UU.

Let n=5q+rn = 5 q + r, where r=Rem (n,5)r = {\rm Rem} \ \left( n, 5 \right).

We have

{n2na5}={(5q+r)2(5q+r)(13501)5}={5q2+2qr(5q+r)270+q+r2+r5}={r2+r5}={0 if r=0,425 if r=1,315 if r=2.\begin{aligned} \left\{ \frac{n^2 - na}{5} \right\} & = \left\{ \frac{\left( 5 q + r \right)^2 - \left( 5 q + r \right)\left( 1350 - 1 \right)}{5} \right\} \\ & = \left\{ 5 q^2 + 2 q r - \left( 5 q + r \right) 270 + q + \frac{r^2 + r}{5} \right\} \\ & = \left\{\frac{r^2 + r}{5} \right\} \\ & = \left\{ \begin{array}{ll} 0 & \text{ if } r = 0, 4 \\ \frac{2}{5} & \text{ if } r = 1, 3 \\ \frac{1}{5} & \text{ if } r = 2 \end{array} \right. . \end{aligned} Therefore,

U=n=12023(n2na5{n2na5})=UBn=12023{n2na5}=n=12023{n2na5}=q=0404r=04{r2+r5}+{020a5}+{202422024a5}=q=0404(0+0+25+25+15)+0+0=405.\begin{aligned} U & = \sum_{n=1}^{2023} \left( \frac{n^2 - na}{5} - \left\{ \frac{n^2 - na}{5} \right\} \right) \\ & = UB - \sum_{n=1}^{2023} \left\{ \frac{n^2 - na}{5} \right\} \\ & = - \sum_{n=1}^{2023} \left\{ \frac{n^2 - na}{5} \right\} \\ & = - \sum_{q=0}^{404} \sum_{r=0}^4 \left\{\frac{r^2 + r}{5} \right\} + \left\{ \frac{0^2 - 0 \cdot a}{5} \right\} + \left\{ \frac{2024^2 - 2024a}{5} \right\} \\ & = - \sum_{q=0}^{404} \left( 0 + 0 + \frac{2}{5} + \frac{2}{5} + \frac{1}{5} \right) + 0 + 0 \\ & = - 405 . \end{aligned} Therefore, a+U=1349405=944a + U = 1349 - 405 = \boxed{\textbf{944}}.

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)

~minor edits by KevinChen_Yay

Solution 2

We define U=n=12023n2na5U' = \sum^{2023}_{n=1} {\frac{n^2-na}{5}}. Since for any real number xx, xxx+1\lfloor x \rfloor \le x \le \lfloor x \rfloor + 1, we have UUU+2023U \le U' \le U + 2023. Now, since 1000U1000-1000 \le U \le 1000, we have 1000U3023-1000 \le U' \le 3023.

Now, we can solve for UU' in terms of aa. We have:

U=n=12023n2na5=n=12023n25na5=n=12023n25n=12023na5=n=12023n2n=12023na5=2023(2023+1)(20232+1)6a2023(2023+1)25=2023(2024)(40473a)30\begin{aligned} U' &= \sum^{2023}_{n=1} {\frac{n^2-na}{5}} \\ &= \sum^{2023}_{n=1} {\frac{n^2}{5} - \frac{na}{5}} \\ &= \sum^{2023}_{n=1} {\frac{n^2}{5}} - \sum^{2023}_{n=1} {\frac{na}{5}} \\ &= \frac{\sum^{2023}_{n=1} {{n^2}} - \sum^{2023}_{n=1} {na}}{5} \\ &= \frac{\frac{2023(2023+1)(2023 \cdot 2 + 1)}{6} - \frac{a \cdot 2023(2023+1)}{2} }{5} \\ &= \frac{2023(2024)(4047-3a)}{30} \\ \end{aligned} So, we have U=2023(2024)(40473a)30U' = \frac{2023(2024)(4047-3a)}{30}, and 1000U3023-1000 \le U' \le 3023, so we have 10002023(2024)(40473a)303023-1000 \le \frac{2023(2024)(4047-3a)}{30} \le 3023, or 300002023(2024)(40473a)90690-30000 \le 2023(2024)(4047-3a) \le 90690. Now, 202320242023 \cdot 2024 is much bigger than 9069090690 or 3000030000, and since 40473a4047-3a is an integer, to satsify the inequalities, we must have 40473a=04047 - 3a = 0, or a=1349a = 1349, and U=0U' = 0.

Now, we can find UUU - U'. We have:

UU=n=12023n21349n5n=12023n21349n5=n=12023n21349n5n21349n5.\begin{aligned} U - U' &= \sum^{2023}_{n=1} {\lfloor \frac{n^2-1349n}{5} \rfloor} - \sum^{2023}_{n=1} {\frac{n^2-1349n}{5}} \\ &= \sum^{2023}_{n=1} {\lfloor \frac{n^2-1349n}{5} \rfloor - \frac{n^2-1349n}{5}} \end{aligned}. Now, if n21349n0 (mod 5)n^2-1349n \equiv 0 \text{ (mod 5)}, then n21349n5n21349n5=0\lfloor \frac{n^2-1349n}{5} \rfloor - \frac{n^2-1349n}{5} = 0, and if n21349n1 (mod 5)n^2-1349n \equiv 1 \text{ (mod 5)}, then n21349n5n21349n5=15\lfloor \frac{n^2-1349n}{5} \rfloor - \frac{n^2-1349n}{5} = -\frac{1}{5}, and so on. Testing with n0,1,2,3,4, (mod 5)n \equiv 0,1,2,3,4, \text{ (mod 5)}, we get n21349n0,2,1,2,0 (mod 5)n^2-1349n \equiv 0,2,1,2,0 \text{ (mod 5)} respectively. From 1 to 2023, there are 405 numbers congruent to 1 mod 5, 405 numbers congruent to 2 mod 5, 405 numbers congruent to 3 mod 5, 404 numbers congruent to 4 mod 5, and 404 numbers congruent to 0 mod 5. So, solving for UUU - U', we get:

UU=n=12023n21349n5n21349n5=40404052540515405254040=405(25+15+25)=405\begin{aligned} U - U' &= \sum^{2023}_{n=1} {\lfloor \frac{n^2-1349n}{5} \rfloor - \frac{n^2-1349n}{5}} \\ &= 404 \cdot 0 - 405 \cdot \frac{2}{5} - 405 \cdot \frac{1}{5} - 405 \cdot \frac{2}{5} - 404 \cdot 0 \\ &= -405(\frac{2}{5}+\frac{1}{5}+\frac{2}{5}) \\ &= -405 \end{aligned} Since U=0U' = 0, this gives U=405U = -405, and we have a+U=1349405=944a + U = 1349-405 = \boxed{944}.

~ genius_007

Solution 3 (Quick)

We can view the floor function in this problem as simply subtracting the remainder of n2nan^2 - na (mod 55) from the numerator of n2na5\frac{n^2-na}{5}. For example, 75=725=1\left\lfloor \frac{7}{5} \right\rfloor = \frac{7-2}{5} = 1.

Note that the congruence of n2nan^2 - na (mod 55) loops every time nn increases by 5. Also, note that the congruence of aa (mod 55) determines the set of congruences of n2nan^2 - na for each congruence of nn (mod 55).

For example, if a1a \equiv 1 (mod 55), the set of remainders is (0,2,1,2,0)(0, 2, 1, 2, 0) for n1,2,3,4,0n \equiv 1,2,3,4,0 (mod 55). Let the sum of these elements be ss. Note that for each “loop” of the numerator (mod 55), each element of the set will be subtracted exactly once, meaning ss is subtracted once for each loop. The value of the numerator will loop 404404 times (mod 55) throughout the sum, as 5404=20205 \cdot 404=2020. Then

U(n(n+1)(2n+1)6(a)(n)(n+1)2404s)5U \approx \frac {\left( \frac {n(n+1)(2n+1)}{6} - \frac{(a)(n)(n+1)}{2} -404s \right)}{5}

Where n=2023n=2023. Note that since 5404=20205 \cdot 404=2020, this is an approximation for UU because the equation disregards the remainder (mod 55) when n=2021,2022n=2021, 2022, and 20232023 so we must subtract the first 3 terms of our set of congruences one extra time to get the exact value of UU (*). However, we will find that this is a negligible error when it comes to the inequality 1000,sowecanproceedwiththisapproximationtosolvefor-1000, so we can proceed with this approximation to solve fora$.

Factoring our approximation gives U(n)(n+1)(2n+13a)6404s5U \approx \frac {\frac{(n)(n+1)(2n+1 - 3a)}{6}-404s}{5}

We set a=(2n+1)3=1349a= \frac{(2n+1)}{3} = 1349 to make (n)(n+1)(2n+13a)6=0\frac{(n)(n+1)(2n+1 - 3a)}{6}=0, accordingly minimizing U|U|, yielding U404s5U \approx \frac{-404s}{5}

If aa increases or decreases by 11, then UU changes by (n)(n+1)25=2023202410\frac {(n)(n+1)}{2 \cdot 5} = \frac {2023 \cdot 2024}{10} which clearly breaks the inequality on UU. Therefore a=13494a=1349 \equiv 4 (mod 55) giving the set of remainders (2,1,2,0,0)(2,1,2,0,0), so s=5s=5 and our approximation yields U404U \approx -404. However, we must subtract 2, 1, and 2 (*) giving us U=404(2+1+2)5=405U = - 404 - \frac{(2+1+2)}{5} = - 405, giving an answer of 1349405=9441349-405= \boxed{944}

~Spencer Danese

Solution 4 (Calculus)

Consider the integral

02023n2na5dn.\int_{0}^{2023} \dfrac{n^2-na}{5} \, dn. We hope this will give a good enough appoximation of UU to find a.a. However, this integral can be easily evaluated to be

11520233a1020232=20232(202315a10).\dfrac{1}{15}2023^3-\dfrac{a}{10}2023^2=2023^2\left(\dfrac{2023}{15}-\dfrac{a}{10}\right). Because we want this to be as close to 00 as possible, we find that aa should equal 1349.1349. Then, evaluating the sum becomes trivial. Set

U=n=12023n21349n5U'=\sum_{n=1}^{2023}\dfrac{n^2-1349n}{5} and

U=n=12023{n21349n5}.U''=\sum_{n=1}^{2023}\{\dfrac{n^2-1349n}{5}\}. Then U=UU.U=U'-U''. We can evaluate UU' to be 00 and UU'' to be 405-405 (using some basic number theory). Thus, U=405U=-405 and the answer is

1349+(405)=944.1349+(-405)=\boxed{944}. ~BS2012

Video Solution

2023 AIME I #10

MathProblemSolvingSkills.com

Video Solution by Punxsutawney Phil

https://youtu.be/jQVbNJr0tX8

Video Solution by Steven Chen

https://youtu.be/fxsPmL6wuW4

Video Solution by Mathematical Dexterity

https://www.youtube.com/watch?v=49XIe2jx9zg