Let a 1 , a 2 , a 3 , … , a 2 0 1 be a sequence of positive integers with a 1 = a 2 0 1 = 1 9 9 9 9 . It is given that every term in the sequence is less than the average of its two neighbours by a fixed positive integer d . Find the sum of all possible values of a 2 6 .
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.
First show that a n = c + b n + a n 2 for some constants a , b , c , using the standard method for solving linear recurrence relations. Then, solve for a , b , c in terms of d , a 2 (using a 1 = 1 9 9 9 9 ). Then use the condition a 2 0 1 = 1 9 9 9 9 to solve for a 2 in terms of d . Then you have a formula for a n dependent on d . It is easy to check that a n > 0 only if d = 1 .
I did it essentially this way, but I made a mistake hastily computing a 2 6 by hand. Let me spell out the solution a bit more.
For the given values of n , it is convenient to write a n + 1 = c + b n + a n 2 , and, plugging in the given values, we see that a n + 1 = 1 9 9 9 9 − 2 0 0 d n + d n 2 . By symmetry, the minimal value in the given range is a 1 0 1 = 1 9 9 9 9 − 1 0 0 0 0 d , which is positive for d = 1 only. Now a 2 6 = 1 5 6 2 4
Problem Loading...
Note Loading...
Set Loading...
Since a 1 = a 2 0 1 = 1 9 9 9 9 and a 2 = 2 1 9 9 9 9 + a 3 − d and a 2 0 0 = 2 1 9 9 9 9 + a 1 9 9 − d , we deduce that a 2 = a 2 0 0 , a 3 = a 1 9 9 , a 4 = a 1 9 8 , ⋯ ⟹ a k = a 2 0 2 − k ⟹ a 1 0 0 = a 1 0 2 and a 1 0 1 = 2 a 1 0 0 + a 1 0 2 − d = a 1 0 0 − d . From:
a n ⟹ a n − 1 a 9 9 a 1 0 0 a 1 0 1 ⟹ a 1 0 2 − k a 1 1 9 9 9 9 ⟹ d a 1 0 0 ⟹ a 1 0 2 − k a 2 6 = 2 a n − 1 + a n + 1 − d = 2 a n − a n + 1 + 2 d = 2 a 1 0 0 − a 1 0 1 + 2 d = a 1 0 0 + 3 d = a 1 0 0 = a 1 0 0 − d = a 1 0 0 + k ( k − 2 ) d = a 1 0 0 + 1 0 1 ( 1 0 1 − 2 ) d = a 1 0 0 + 9 9 9 9 d = 1 = 1 0 0 0 0 = 1 0 0 0 0 + k ( k − 2 ) = 1 0 0 0 0 + 7 6 ( 7 6 − 2 ) = 1 5 6 2 4 Putting n = 1 0 0 Since a 1 0 1 = a 1 0 0 − d See proof Putting k = 1 0 1 Only possible positive integer solution Putting k = 7 6
Proof: Proof by induction the claim a 1 0 2 − k = a 1 0 0 + k ( k − 2 ) d for all k ≥ 1 .
For k = 1 , a 1 0 1 = a 1 0 0 + 1 ( 1 − 2 ) = a 1 0 0 − d and for k = 2 , a 1 0 0 = a 1 0 0 + 2 ( 2 − 2 ) = a 1 0 0 , implying the claim is true for k = 1 and k = 2 . Assuming that the claim is true for k and k + 1 , then:
a 1 0 2 − ( k + 2 ) = 2 a 1 0 2 − ( k + 1 ) − a 1 0 2 − k + 2 d = 2 ( a 1 0 0 + ( k + 1 ) ( k − 1 ) d ) − ( a 1 0 0 + k ( k − 2 ) d ) + 2 d = a 1 0 0 + ( k 2 + 2 k ) d = a 1 0 0 + ( k + 2 ) ( k + 2 − 2 ) d
Implying that the claim is also true for k + 2 and hence true for all k > 1 .