返回题库

AIME 2015 I · 第 14 题

AIME 2015 I — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For each integer n2n \ge 2, let A(n)A(n) be the area of the region in the coordinate plane defined by the inequalities 1xn1\le x \le n and 0yxx0\le y \le x \left\lfloor \sqrt x \right\rfloor, where x\left\lfloor \sqrt x \right\rfloor is the greatest integer not exceeding x\sqrt x. Find the number of values of nn with 2n10002\le n \le 1000 for which A(n)A(n) is an integer.

解析

Solution 1

Let n2n\ge 2 and define a(n)=na(n) = \left\lfloor \sqrt n \right\rfloor. For 2n10002\le n \le 1000, we have 1a(n)311\le a(n)\le 31.

For a2x<(a+1)2a^2 \le x < (a+1)^2 we have y=axy=ax. Thus A(n+1)A(n)=a(n+12)=ΔnA(n+1)-A(n)=a(n+\tfrac 12) = \Delta_n (say), and Δn\Delta_n is an integer if aa is even; otherwise Δn\Delta_n is an integer plus 12\tfrac 12.

If a=1a=1, n{1,2,3}n\in \{1,2,3\} and Δn\Delta_n is of the form k(n)+12k(n)+\tfrac 12 so A(n)A(n) is an integer when nn is even.

If a=2a=2, n{4,,8}n\in\{4,\ldots , 8\} and Δn\Delta_n is an integer for all nn. Since A(3)A(3) is not an integer, so A(n)A(n) is not an integer for any nn.

If a=3a=3, n{9,,15}n\in\{9,\ldots , 15\} and Δn\Delta_n is of the form k(n)+12k(n)+\tfrac 12. Since A(8)A(8) is of the form k+12k+\tfrac 12 so A(n)A(n) is an integer only when nn is odd.

If a=4a=4, n{16,,24}n\in\{16,\ldots , 24\} and Δn\Delta_n is an integer for all nn. Since A(15)A(15) is an integer so A(n)A(n) is an integer for all nn.

Now we are back to where we started; i.e., the case a=5a=5 will be the same as a=1a=1 and so on. Thus,

a(n)1(mod4)A(n)Z for even n,a(n)2(mod4)A(n)∉Z for any n,a(n)3(mod4)A(n)Z for odd n,a(n)0(mod4)A(n)Z for all n.\begin{aligned} a(n)\equiv 1\pmod 4 \qquad &\Longrightarrow \qquad A(n) \in \mathbb{Z} \textrm{ for even } n, \\ a(n)\equiv 2\pmod 4 \qquad &\Longrightarrow \qquad A(n) \not\in \mathbb{Z} \textrm{ for any } n, \\ a(n)\equiv 3\pmod 4 \qquad &\Longrightarrow \qquad A(n) \in \mathbb{Z} \textrm{ for odd } n, \\ a(n)\equiv 0\pmod 4 \qquad &\Longrightarrow \qquad A(n) \in \mathbb{Z} \textrm{ for all } n. \end{aligned} For each aa there are 2a+12a+1 corresponding values of nn: i.e., n{a2,,(a+1)21}n\in \{a^2, \ldots , (a+1)^2-1\}.

Thus, the number of values of nn corresponding to (4)(4) (i.e., a(n)0(mod4)a(n)\equiv 0\pmod 4) is given by

a=4ka31(2a+1)=k=17(8k+1)=231.\sum_{\substack{a=4k \\ a\le 31}}(2a+1) = \sum_{k=1}^7 (8k+1)=231. The cases (1)(1) and (3)(3) combine to account for half the values of nn corresponding to odd values of a(n)a(n); i.e.,

12a=2k+1a31(2a+1)=k=015(2k+32)=264\frac 12 \cdot \sum_{\substack{a=2k+1 \\ a\le 31}} (2a+1) = \sum_{k=0}^{15} (2k+\tfrac 32) = 264 However, this also includes the odd integers in {1001,,1023}\{1001, \ldots , 1023\}. Subtracting 1212 to account for these, we get the number of values of nn corresponding to cases (1)(1) and (3)(3) to be 26412=252264-12=252.

Adding the contributions from all cases we get our answer to be 231+252=483231+252= \boxed{483}.

Solution 2

By considering the graph of this function, it is shown that the graph is composed of trapezoids ranging from a2a^2 to (a+1)2(a+1)^2 with the top made of diagonal line y=axy=ax. The width of each trapezoid is 3,5,73, 5, 7, etc. Whenever aa is odd, the value of A(n)A(n) increases by an integer value, plus 12\frac{1}{2}. Whenever aa is even, the value of A(n)A(n) increases by an integer value. Since each trapezoid always has an odd width, every value of nn is not an integer when a(mod4)2a \pmod{4} \equiv 2, and is an integer when a(mod4)0a \pmod{4} \equiv 0. Every other value is an integer when aa is odd. Therefore, it is simply a matter of determining the number of values of nn where a(mod4)0a \pmod{4} \equiv 0 ((5242)+(9282)+...+(292282)(5^2-4^2)+(9^2-8^2)+...+(29^2-28^2)), and adding the number of values of nn where aa is odd ((2212)+(4232)+...+(302292)+(1000312)2\frac{(2^2-1^2)+(4^2-3^2)+...+(30^2-29^2)+(1000-31^2)}{2}). Adding the two values gives 231+252=483231+252=\boxed{483}.

"Step" Solution

First, draw a graph of the function. Note that it is just a bunch of line segments. Since we only need to know whether or not A(n)A(n) is an integer, we can take the area of each piece from some xx to x+1x+1 (mod 1), aka the piece from 22 to 33 has area 12(mod1)\frac{1}{2} (\mod 1). There are some patterns. Every time we increase nn starting with 22, we either add 0(mod1)0 (\mod 1) or 12(mod1)\frac{1}{2} (\mod 1). We look at x\lfloor \sqrt{x} \rfloor for inspiration. Every time this floor (which is really the slope) is odd, there is always an addition of 12(mod1)\frac{1}{2} (\mod 1), and whenever that slope is even, that addition is zero.

Take a few cases. For slope =1=1, we see that only one value satisfies. Because the last value, n=4n=4, fails, and the numbers nn which have a slope of an even number don't change this modulus, all these do not satisfy the criterion. The pattern then comes back to the odds, and this time 72+1=4\lfloor \frac{7}{2} \rfloor + 1 = 4 values work. Since the work/fail pattern alternates, all the nns with even slope, [17,25][17, 25], satisfy the criterion. This pattern is cyclic over period 4 of slopes.

Even summation of working cases: 9+17+25+...+57=2319+17+25+...+57 = 231. Odd summation: 1+4+5+8+9+12...+291+4+5+8+9+12...+29 and plus the 2020 cases from n=[962,1000]n=[962, 1000]: 252252. Answer is 483\boxed{483}.

Video Solution

https://youtu.be/tup11-90Bqw

~MathProblemSolvingSkills.com