Difference between revisions of "1985 AIME Problems/Problem 13"
(→Solution 2) |
(→Solution 2) |
||
Line 16: | Line 16: | ||
Now, the question is to find the GCD of <math>2n+1</math> and <math>100+n^2</math>. We subtract <math>2n+1</math> 100 times from <math>100+n^2</math>. This leaves us with <math>n^2-200n</math>. We want this to equal 0, so solving for <math>n</math> gives us <math>n=200</math>. The last remainder is 0, thus <math>200*2+1 = \boxed{401}</math> is our GCD. | Now, the question is to find the GCD of <math>2n+1</math> and <math>100+n^2</math>. We subtract <math>2n+1</math> 100 times from <math>100+n^2</math>. This leaves us with <math>n^2-200n</math>. We want this to equal 0, so solving for <math>n</math> gives us <math>n=200</math>. The last remainder is 0, thus <math>200*2+1 = \boxed{401}</math> is our GCD. | ||
+ | == Solution 3== | ||
+ | If solution 2 is not entirely obvious, our answer is the max possible range of <math>/frac{x(x-200)}{2x+1}</math>. Using the euclidean algorithm on <math>x</math> and <math>2x+1</math> yields that they are relatively prime. Thus, the only way the gcd will not be 1 is if the<math> x-200</math> term share factors with the <math>2x+1</math>. Using the euclidean algorithm, <math>gcd(x-200,2x+1)=gcd(x-22,2x+1-2(x-200))=gcd(x-200,401)</math>. Thus, the max gcd is 401. | ||
== See also == | == See also == |
Revision as of 12:46, 18 September 2015
Problem
The numbers in the sequence , , , , are of the form , where For each , let be the greatest common divisor of and . Find the maximum value of as ranges through the positive integers.
Solution 1
If denotes the greatest common divisor of and , then we have . Now assuming that divides , it must divide if it is going to divide the entire expression .
Thus the equation turns into . Now note that since is odd for integral , we can multiply the left integer, , by a multiple of two without affecting the greatest common divisor. Since the term is quite restrictive, let's multiply by so that we can get a in there.
So . It simplified the way we wanted it to! Now using similar techniques we can write . Thus must divide for every single . This means the largest possible value for is , and we see that it can be achieved when .
Solution 2
We know that and . Since we want to find the GCD of and , we can use the Euclidean algorithm:
Now, the question is to find the GCD of and . We subtract 100 times from . This leaves us with . We want this to equal 0, so solving for gives us . The last remainder is 0, thus is our GCD.
Solution 3
If solution 2 is not entirely obvious, our answer is the max possible range of . Using the euclidean algorithm on and yields that they are relatively prime. Thus, the only way the gcd will not be 1 is if the term share factors with the . Using the euclidean algorithm, . Thus, the max gcd is 401.
See also
1985 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 12 |
Followed by Problem 14 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |