Interesting sequence

Algebra Level 5

Let a 1 , a 2 , a 3 , , a 201 a_1,a_2, a_3, \ldots,a_{201} be a sequence of positive integers with a 1 = a 201 = 19999 a_1=a_{201}=19999 . It is given that every term in the sequence is less than the average of its two neighbours by a fixed positive integer d d . Find the sum of all possible values of a 26 a_{26} .


The answer is 15624.

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

Chew-Seong Cheong
Aug 29, 2018

Since a 1 = a 201 = 19999 a_1 = a_{201} = 19999 and a 2 = 19999 + a 3 2 d a_2=\dfrac {19999+a_3}2 - d and a 200 = 19999 + a 199 2 d a_{200}=\dfrac {19999+a_{199}}2 - d , we deduce that a 2 = a 200 a_2=a_{200} , a 3 = a 199 a_3=a_{199} , a 4 = a 198 a_4 = a_{198} , \cdots a k = a 202 k \implies a_k = a_{202-k} a 100 = a 102 \implies a_{100} = a_{102} and a 101 = a 100 + a 102 2 d = a 100 d a_{101} = \dfrac {a_{100}+a_{102}}2-d = a_{100}-d . From:

a n = a n 1 + a n + 1 2 d a n 1 = 2 a n a n + 1 + 2 d Putting n = 100 a 99 = 2 a 100 a 101 + 2 d Since a 101 = a 100 d = a 100 + 3 d a 100 = a 100 a 101 = a 100 d a 102 k = a 100 + k ( k 2 ) d See proof a 1 = a 100 + 101 ( 101 2 ) d Putting k = 101 19999 = a 100 + 9999 d d = 1 Only possible positive integer solution a 100 = 10000 a 102 k = 10000 + k ( k 2 ) Putting k = 76 a 26 = 10000 + 76 ( 76 2 ) = 15624 \begin{aligned} a_n & = \frac {a_{n-1}+a_{n+1}}2 - d \\ \implies a_{n-1} & = 2a_n - a_{n+1} + 2d & \small \color{#3D99F6} \text{Putting }n=100 \\ a_{99} & = 2a_{100} - {\color{#3D99F6}a_{101}} + 2d & \small \color{#3D99F6} \text{Since }a_{101} = a_{100} - d \\ & = a_{100}+3d \\ a_{100} & = a_{100} \\ a_{101} & = a_{100} - d \\ \implies a_{102-k} & = a_{100} + k(k-2) d & \small \color{#3D99F6} \text{See proof} \\ a_1 & = a_{100} + 101(101-2)d & \small \color{#3D99F6} \text{Putting }k=101 \\ 19999 & = a_{100} + 9999d \\ \implies d & = 1 & \small \color{#3D99F6} \text{Only possible positive integer solution} \\ a_{100} & = 10000 \\ \implies a_{102-k} & = 10000 + k(k-2) & \small \color{#3D99F6} \text{Putting }k=76 \\ a_{26} & = 10000 + 76(76-2) \\ & = \boxed{15624} \end{aligned}


Proof: Proof by induction the claim a 102 k = a 100 + k ( k 2 ) d a_{102-k} = a_{100} + k(k-2)d for all k 1 k \ge 1 .

For k = 1 k=1 , a 101 = a 100 + 1 ( 1 2 ) = a 100 d a_{101} = a_{100} + 1(1-2) = a_{100} - d and for k = 2 k=2 , a 100 = a 100 + 2 ( 2 2 ) = a 100 a_{100} = a_{100} + 2(2-2) = a_{100} , implying the claim is true for k = 1 k=1 and k = 2 k=2 . Assuming that the claim is true for k k and k + 1 k+1 , then:

a 102 ( k + 2 ) = 2 a 102 ( k + 1 ) a 102 k + 2 d = 2 ( a 100 + ( k + 1 ) ( k 1 ) d ) ( a 100 + k ( k 2 ) d ) + 2 d = a 100 + ( k 2 + 2 k ) d = a 100 + ( k + 2 ) ( k + 2 2 ) d \begin{aligned} a_{102-(k+2)} & = 2a_{102-(k+1)} - a_{102-k} + 2d \\ & = 2(a_{100} + (k+1)(k-1)d) - (a_{100} + k(k-2)d) + 2d \\ & = a_{100} + (k^2+2k)d \\ & = a_{100} + (k+2)(k+2-2)d \end{aligned}

Implying that the claim is also true for k + 2 k+2 and hence true for all k > 1 k > 1 .

First show that a n = c + b n + a n 2 a_n = c + b n + a n^2 for some constants a , b , c a,b,c , using the standard method for solving linear recurrence relations. Then, solve for a , b , c a,b,c in terms of d , a 2 d,a_2 (using a 1 = 19999 a_1 = 19999 ). Then use the condition a 201 = 19999 a_{201} = 19999 to solve for a 2 a_2 in terms of d d . Then you have a formula for a n a_n dependent on d d . It is easy to check that a n > 0 a_n>0 only if d = 1 d=1 .

I did it essentially this way, but I made a mistake hastily computing a 26 a_{26} by hand. Let me spell out the solution a bit more.

For the given values of n n , it is convenient to write a n + 1 = c + b n + a n 2 a_{n+1} = c + b n + a n^2 , and, plugging in the given values, we see that a n + 1 = 19999 200 d n + d n 2 a_{n+1} = 19999 - 200 d n + d n^2 . By symmetry, the minimal value in the given range is a 101 = 19999 10000 d a_{101} = 19999 - 10000 d , which is positive for d = 1 d = 1 only. Now a 26 = 15624 a_{26}=\boxed{15624}

Otto Bretscher - 2 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...