2007 AIME I Problem 11

Attempt Problem 11 of the 2007 AIME I below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2007 AIME I solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

11.

For each positive integer p,p, let b(p)b(p) denote the unique positive integer kk such that kp<12.|k - \sqrt{p}| \lt \frac{1}{2}. For example, b(6)=2b(6) = 2 and b(23)=5.b(23) = 5. If S=p=12007b(p),S = \sum_{p=1}^{2007} b(p), find the remainder when SS is divided by 1000.1000.

Answer: 955
Concepts:floor and ceiling functionssum of first n squarescounting integers in a range
Difficulty rating: 2610
Solution:

For a positive integer k,k, the condition kp<12|k - \sqrt{p}| \lt \frac{1}{2} means (k12)2<p<(k+12)2,\left(k - \frac{1}{2}\right)^2 \lt p \lt \left(k + \frac{1}{2}\right)^2, which for integers pp is exactly k2k+1pk2+k.k^2 - k + 1 \le p \le k^2 + k. So b(p)=kb(p) = k for precisely 2k2k values of p.p.

Since 442+44=1980,44^2 + 44 = 1980, the blocks k=1,,44k = 1, \ldots, 44 exactly cover p1980p \le 1980 and contribute k=144k2k=24445896=58740.\begin{aligned} \sum_{k=1}^{44} k \cdot 2k &= 2 \cdot \frac{44 \cdot 45 \cdot 89}{6} \\ &= 58740. \end{aligned} The remaining 2727 values p=1981,,2007p = 1981, \ldots, 2007 each have b(p)=45,b(p) = 45, adding 2745=1215.27 \cdot 45 = 1215.

Thus S=58740+1215=59955,S = 58740 + 1215 = 59955, and the remainder is 955.955.

← Problem 10#10
Full Exam

Problem 11 in Other Years