Inspired by Pi Han Goh!

a n = n 2 + 500 ; d n = gcd ( a n , a n + 1 ) \large{a_n = n^2 + 500 \quad ; \quad d_n = \gcd(a_n, \ a_{n+1})}

For integers n 1 n \geq 1 , define a n a_n and d n d_n as above. Determine the largest possible value of d n d_n .

Inspiration .


The answer is 2001.

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.

2 solutions

Otto Bretscher
Aug 27, 2015

d n d_n will divide 2 a n + 2 a n + 1 ( a n + 1 a n ) 2 = 2001 2a_n+2a_{n+1}-(a_{n+1}-a_n)^2=2001 . Also, d 1000 = 2001 d_{1000}=\boxed{2001}

Patrick Corn
Aug 27, 2015

If a n = n 2 + c a_n = n^2 + c for some fixed constant c c , the answer is always 4 c + 1 4c+1 . To see this, first note that a 2 c a_{2c} and a 2 c + 1 a_{2c+1} are divisible by 4 c + 1 4c+1 . Then note that ( 2 n + 3 ) a n ( 2 n 1 ) a n + 1 = 4 c + 1 (2n+3)a_n - (2n-1)a_{n+1} = 4c+1 , so d n ( 4 c + 1 ) d_n | (4c+1) . So the maximum value of d n d_n is 4 c + 1 4c+1 , and this maximum is attained.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...