返回题库

AIME 2017 II · 第 6 题

AIME 2017 II — Problem 6

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Find the sum of all positive integers nn such that n2+85n+2017\sqrt{n^2+85n+2017} is an integer.

解析

Solution 1

Manipulating the given expression, n2+85n+2017=124n2+340n+8068=12(2n+85)2+843\sqrt{n^2+85n+2017}=\frac{1}{2}\sqrt{4n^2+340n+8068}=\frac{1}{2}\sqrt{(2n+85)^2+843}. The expression under the radical must be an square number for the entire expression to be an integer, so (2n+85)2+843=s2(2n+85)^2+843=s^2. Rearranging, s2(2n+85)2=843s^2-(2n+85)^2=843. By difference of squares, (s(2n+85))(s+(2n+85))=1×843=3×281(s-(2n+85))(s+(2n+85))=1\times843=3\times281. It is easy to check that those are all the factor pairs of 843. Considering each factor pair separately, 2n+852n+85 is found to be 421421 and 139139. The two values of nn that satisfy one of the equations are 168168 and 2727. Summing these together gives us the answer ; 168+27=195168+27=\boxed{195}.

Solution 2

Clearly, the result when nn is plugged into the given expression is larger than nn itself. Let xx be the positive difference between that result and nn, so that n2+85n+2017=n+x\sqrt{n^2+85n+2017}=n+x. Squaring both sides and canceling the n2n^2 terms gives 85n+2017=2xn+x285n+2017=2xn+x^2. Combining like terms, (852x)n=x22017(85-2x)n=x^2-2017, so

n=x22017852x.n=\frac{x^2-2017}{85-2x}. Since nn is positive, there are two cases, which are simple (luckily). Remembering that xx is a positive integer, then x22017x^2-2017 and 852x85-2x are either both positive or both negative. The smallest value for which x2>2017x^2>2017 is 45, which makes the denominator, and the entire expression, negative. Evaluating the other case where numerator and denominator are both negative, then we have that x<45x<45 (from the numerator) and 852x<085-2x<0, which means x>42x>42. This only gives two solutions, x=43,44x=43, 44. Plugging these into the expression for nn, we find that they result in 27 and 168, which both satisfy the initial question. Therefore, the answer is 168+27=195168+27=\boxed{195}.

Solution 3 (Abuse the discriminant)

Let the integer given by the square root be represented by xx. Then 0=n2+85n+2017x20 = n^2 + 85n + 2017 - x^2. For this to have rational solutions for nn (checking whether they are integers is done later), the discriminant of this quadratic must be a perfect square. (This can be easily shown using the quadratic formula.)

Thus, b24ac=7225+4x28068=y2b^2 - 4ac = 7225 + 4x^2 - 8068 = y^2 for some integer yy. Then 4x2843=y24x^2 - 843 = y^2. Rearranging this equation yields that 843=(2x+y)(2xy)843 = (2x+y)(2x-y). Noticing that there are 2 factor pairs of 843843, namely, 18431*843 and 32813*281, there are 2 systems to solve for xx and yy that create rational nn. These yield solutions (x,y)(x,y) of (211,421)(211, 421) and (71,139)(71, 139).

The solution to the initial quadratic in nn must then be 85±8524(2017x2)2\frac{-85 \pm \sqrt{85^2 - 4(2017 - x^2)}}{2}. Noticing that for each value of xx that has rational solutions for nn, the corresponding value of the square root of the discriminant is yy, the formula can be rewritten as n=85±y2n = \frac{-85 \pm y}{2}. One solution is 421852=168\frac{421 - 85}{2} = 168 and the other solution is 139852=27\frac{139 - 85}{2} = 27. Thus the answer is 168+27=195168 + 27 = \boxed{195} as both rational solutions are integers.

Solution 4 (Squeezing/Sandwich method)

Notice that (n+42)2=n2+84n+1764(n+42)^2= n^2+84n+1764. Also note that (n+45)2=n2+90n+2025(n+45)^2= n^2+90n+2025. Thus,

(n+42)2<n2+85n+2017<(n+45)2(n+42)^2< n^2+85n+2017<(n+45)^2 where n2+85n+2017n^2+85n+2017 is a perfect square. Hence,

n2+85n+2017=(n+43)2n^2+85n+2017= (n+43)^2 or

n2+85n+2017=(n+44)2.n^2+85n+2017= (n+44)^2. Solving the two equations yields the two solutions n=168,27n= 168, 27. Therefore, our answer is 195\boxed{195}.

Solution 5 (Using factors)

Let the expression be equal to aa. This expression can be factored into (n+44)23n+81\sqrt{(n+44)^2-3n+81}. Then square both sides, and the expression becomes (n+44)23n+81=a2(n+44)^2-3n+81=a^2. We have a difference of two squares. Rearranging, we have (n+44+a)(n+44a)=3(n27)(n+44+a)(n+44-a)=3(n-27). By inspection, the only possible values for (n+44a)(n+44-a) are 0 and 1. When (n+44a)=0(n+44-a)=0, we must have n27=0n-27=0. Therefore, 2727 is a solution. When we have (n+44a)=1(n+44-a)=1, so n=a43n=a-43. Plugging this back to (n+44+a)=3(n27)(n+44+a)=3(n-27) (since (n+44a)=1(n+44-a)=1), we find that a=211    n=168a=211 \implies n=168. Thus, the answer is 27+168=19527+168= \boxed{195}.

-RootThreeOverTwo

Solution 6

Ignore the square root for now. This expression can be factored into (n+44)23n+81(n+44)^2-3n+81. Just by inspection, when n=27n=27, the expression becomes 71271^2, so 2727 is a solution. Proceed as Solution 5 to find the other solution(s).

Solution 7 (alternative factoring)

More intuitive, but a little bit slower considering the decimals.

Label the entire given expression as k2k^2.

Instinctively we can do a crude completion of the square, resulting in k2k^2 = (n+42.5)2+210.75(n+42.5)^2+210.75 Rearrange the equation to get a difference of squares.

k2(n+42.5)2=210.75k^2-(n+42.5)^2 = 210.75 (k+n+42.5)(kn42.5)=210.75(k+n+42.5)(k-n-42.5) = 210.75

Factor 21,07521,075 to get 313^1,525^2, and 2811281^1

Now the two factors given are either divided by 10 each or one being divided by 100. Let's start with the former case.

If you try 2813/10281*3/10 and 55/105*5/10, you quickly realize that nn becomes negative. Naturally, you will realize you want the number's difference to be larger. Try 2815/10281*5/10 and 35/103*5/10. This gives an answer of 2727 for xx. The next largest possibility also works, giving an nn of 168168. As you rise, some numbers don't work because it results in an n that is not an integer, as in the example of 2815510\frac{281*5*5}{10} and 310\frac{3}{10}.

Now if you continue on with the next case, where one factor is divided by 100100, very swiftly will you realize most don't work simply because the difference is too small, or it doesn't give an integer. It helps a lot when you realize that the decimal does not end in a 55, the answer will not be an integer. After a few short tests, we get 168+27=195168+27=\boxed{195}.

-jackshi2006 - minor latex edits by jske25

Video Solution

https://youtu.be/Z23Yz05eblY