Lovable series

The numbers in the sequence are in the form a n = 100 + n 2 , n N a_n=100+n^2, \quad \forall n\in \mathbb{N}

For each n n , let d n d_n be gcd ( a n , a n + 1 ) \gcd(a_n,a_{n+1}) .

Find the maximum value of d n d_n as n n ranges through positive integers.


Source: AIME


The answer is 401.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Ankit Nigam
Mar 15, 2016

a n + 1 = 100 + ( n + 1 ) 2 = 100 + n 2 + 2 n + 1 = a n + ( 2 n + 1 ) a_{n+1} = 100 + (n + 1)^2 = 100 + n^2 + 2n + 1 = a_{n} + (2n + 1)

Now it is asked to find gcd ( a n , a n + 1 ) = gcd ( ( 2 n + 1 ) , a n ) = gcd ( 2 n + 1 , 100 + n 2 ) \gcd(a_n, a_{n+1}) = \gcd((2n + 1), a_n) = \gcd(2n + 1, 100 + n^2) .

Now we need to see if ( 2 n + 1 ) (2n + 1) divides 100 + n 2 100 + n^2

So by long division method:-

100 + n 2 = ( 2 n + 1 ) ( 2 n 1 4 ) + 401 4 100 + n^2 = (2n + 1)\left(\dfrac{2n - 1}{4}\right) + \dfrac{401}{4}

n 2 + 100 2 n + 1 = ( 2 n 1 4 ) + 401 4 ( 2 n + 1 ) \therefore \dfrac{n^2 + 100}{2n + 1} = \left(\dfrac{2n - 1}{4}\right) + \dfrac{401}{4(2n + 1)}

= 1 4 ( ( 2 n 1 ) + 401 2 n + 1 ) = \dfrac{1}{4} \left((2n - 1) + \dfrac{401}{2n + 1}\right)

Note that 401 401 is a prime number so its factors are 1 1 and 401 401

so 2 n + 1 = 1 2n + 1 = 1 or 2 n + 1 = 401 2n + 1 = 401

n = 0 , 200 \therefore n = 0, 200

When substituting n = 0 n = 0 we get 100 100 which is a integer.

Similarly substituting n = 200 n = 200 we get 100 100

Which means 2 n + 1 2n + 1 divides 100 + n 2 100 + n^2 when n = 0 , 200 n = 0, 200

Therefore 2 n + 1 = 1 , 401 2n + 1 = 1, 401 at n = 0 , 200 n = 0, 200

m a x ( d n ) = gcd ( a n , a n + 1 ) = 401 \therefore max(d_n) = \gcd(a_n, a_{n+1}) = 401

Nailed it! BTW same way (+1)

Department 8 - 5 years, 3 months ago

Nice solution!

Akshat Sharda - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...