返回题库

AIME 1985 · 第 13 题

AIME 1985 — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The numbers in the sequence 101101, 104104, 109109, 116116,\ldots are of the form an=100+n2a_n=100+n^2, where n=1,2,3,n=1,2,3,\ldots For each nn, let dnd_n be the greatest common divisor of ana_n and an+1a_{n+1}. Find the maximum value of dnd_n as nn ranges through the positive integers.

解析

Solution 1

If (x,y)(x,y) denotes the greatest common divisor of xx and yy, then we have dn=(an,an+1)=(100+n2,100+n2+2n+1)d_n=(a_n,a_{n+1})=(100+n^2,100+n^2+2n+1). Now assuming that dnd_n divides 100+n2100+n^2, it must divide 2n+12n+1 if it is going to divide the entire expression 100+n2+2n+1100+n^2+2n+1.

Thus the equation turns into dn=(100+n2,2n+1)d_n=(100+n^2,2n+1). Now note that since 2n+12n+1 is odd for integral nn, we can multiply the left integer, 100+n2100+n^2, by a power of two without affecting the greatest common divisor. Since the n2n^2 term is quite restrictive, let's multiply by 44 so that we can get a (2n+1)2(2n+1)^2 in there.

So dn=(4n2+400,2n+1)=((2n+1)24n+399,2n+1)=(4n+399,2n+1)d_n=(4n^2+400,2n+1)=((2n+1)^2-4n+399,2n+1)=(-4n+399,2n+1). It simplified the way we wanted it to! Now using similar techniques we can write dn=(2(2n+1)+401,2n+1)=(401,2n+1)d_n=(-2(2n+1)+401,2n+1)=(401,2n+1). Thus dnd_n must divide 401\boxed{401} for every single nn. This means the largest possible value for dnd_n is 401401, and we see that it can be achieved when n=200n = 200.

Solution 2

We know that an=100+n2a_n = 100+n^2 and an+1=100+(n+1)2=100+n2+2n+1a_{n+1} = 100+(n+1)^2 = 100+ n^2+2n+1. Since we want to find the GCD of ana_n and an+1a_{n+1}, we can use the Euclidean algorithm:

an+1an=2n+1a_{n+1}-a_n = 2n+1

Now, the question is to find the GCD of 2n+12n+1 and 100+n2100+n^2. We subtract 2n+12n+1 100100 times from 100+n2100+n^2.

(100+n2)100(2n+1)(100+n^2)-100(2n+1) =n2+100200n100=n^2+100-200n-100 This leaves us with

n2200n.n^2-200n. Factoring, we get

n(n200)n(n-200) Because nn and 2n+12n+1 will be coprime, the only thing stopping the GCD from being 11 is n200.n-200. We want this to equal 0, because that will maximize our GCD. Solving for nn gives us n=200n=200. The last remainder is 0, thus 2002+1=401200*2+1 = \boxed{401} is our GCD.

Solution 3

If Solution 2 is not entirely obvious, our answer is the max possible range of x(x200)2x+1\frac{x(x-200)}{2x+1}. Using the Euclidean Algorithm on xx and 2x+12x+1 yields that they are relatively prime. Thus, the only way the GCD will not be 1 is if thex200x-200 term share factors with the 2x+12x+1. Using the Euclidean Algorithm, gcd(x200,2x+1)=gcd(x200,2x+12(x200))=gcd(x200,401)\gcd(x-200,2x+1)=\gcd(x-200,2x+1-2(x-200))=\gcd(x-200,401). Thus, the max GCD is 401.

Solution 4

We can just plug in Euclidean algorithm, to go from gcd(n2+100,n2+2n+101)\gcd(n^2 + 100, n^2 + 2n + 101) to gcd(n2+100,2n+1)\gcd(n^2 + 100, 2n + 1) to gcd(n2+100100(2n+1),2n+1)\gcd(n^2 + 100 - 100(2n + 1), 2n + 1) to get gcd(n2200n,2n+1)\gcd(n^2 - 200n, 2n + 1). Now we know that no matter what, nn is relatively prime to 2n+12n + 1. Therefore the equation can be simplified to: gcd(n200,2n+1)\gcd(n - 200, 2n + 1). Subtracting 2n4002n - 400 from 2n+12n + 1 results in gcd(n200,401)\gcd(n - 200,401). The greatest possible value of this is 401\boxed{401}, and happens when n200(mod401)n \equiv 200 \pmod{401}.

Solution 5

As clearly shown in the above solutions, we want to maximize (100+n2,2n+1).(100+n^2, 2n+1). Then the maximum of the GCD will be achieved with integers a,b,ca,b,c such that a(100+n2)+b(2n+1)=ca(100+n^2) + b(2n+1)=c by Bezout's identity. Note for the LHS to be constant, bb must be a linear function of n,n, so b=px+q.b=px+q. However, there cannot be a linear nn term in b(2n+1),b(2n+1), hence b=2n1b=2n-1 by difference of squares. Changing bb to 2n+1,-2n+1, we get 100a+an24n2+1=c,100a+an^2-4n^2+1=c, so a=4,a=4, and the answer is c=401.c=\boxed{401}.

~anduran

Video Solution by OmegaLearn

https://youtu.be/yh70NBCxQzg?t=752

~ pi_is_3.14