Difference between revisions of "2007 AIME I Problems/Problem 11"
(sure, I'll fix it up (grrr ... this is the problem I forgot to x2 at the end); btw, the answer is 955) |
|||
Line 1: | Line 1: | ||
− | + | == Problem == | |
+ | For each [[positive]] [[integer]] <math>p</math>, let <math>b(p)</math> denote the unique positive integer <math>k</math> such that <math>|k-\sqrt{p}| < \frac{1}{2}</math>. For example, <math>b(6) = 2</math> and <math>b(23) = 5</math>. If <math>S = \Sigma_{p=1}^{2007} b(p),</math> find the [[remainder]] when <math>S</math> is divided by 1000. | ||
− | <math>(k-1/2)^2=k^2-k+1/4</math> and<math>(k+1/2)^2=k^2+k+1/4</math> Therefore <math>b(p)=k</math> if and only if <math>p</math> is in this range, if and only if <math>k^2-k<p\leq k^2+k</math>. There are <math>2k</math> numbers in this range, so the some of <math>b(p)</math> over this range is <math>(2k)k=k^2</math>. <math>44<\sqrt{2007}<45</math>, so all numbers <math>1</math> to <math>44</math> have their full range. Summing this up we get <math>2\sum_{k=1}^{44}2k^2=2(44(44+1)(2*44+1)/6)=58740</math>. We need only consider the <math>740</math> because we are work modulo <math>1000</math> Now consider the range of numbers such that <math>b(P)=45</math>. These numbers are <math>1893</math> to <math>2007</math>. There are <math>115</math> of them. <math>115*45=5175</math>, and <math>175+740= | + | == Solution == |
+ | <math>(k-1/2)^2=k^2-k+1/4</math> and<math>(k+1/2)^2=k^2+k+1/4</math> Therefore <math>b(p)=k</math> if and only if <math>p</math> is in this range, if and only if <math>k^2-k<p\leq k^2+k</math>. There are <math>2k</math> numbers in this range, so the some of <math>b(p)</math> over this range is <math>(2k)k=k^2</math>. <math>44<\sqrt{2007}<45</math>, so all numbers <math>1</math> to <math>44</math> have their full range. Summing this up we get <math>2\sum_{k=1}^{44}2k^2=2(44(44+1)(2*44+1)/6)=58740</math>. We need only consider the <math>740</math> because we are work modulo <math>1000</math> Now consider the range of numbers such that <math>b(P)=45</math>. These numbers are <math>1893</math> to <math>2007</math>. There are <math>115</math> of them. <math>115*45=5175</math>, and <math>175+740=955</math>, the solution. | ||
+ | |||
+ | == See also == | ||
+ | {{AIME box|year=2007|n=I|num-b=10|num-a=12}} | ||
+ | |||
+ | [[Category:Intermediate Number Theory Problems]] | ||
+ | [[Category:Intermediate Algebra Problems]] |
Revision as of 19:06, 15 March 2007
Problem
For each positive integer , let denote the unique positive integer such that . For example, and . If find the remainder when is divided by 1000.
Solution
and Therefore if and only if is in this range, if and only if . There are numbers in this range, so the some of over this range is . , so all numbers to have their full range. Summing this up we get . We need only consider the because we are work modulo Now consider the range of numbers such that . These numbers are to . There are of them. , and , the solution.
See also
2007 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |