Problem:
A sequence of integers a1β,a2β,a3β,β¦ is chosen so that anβ=anβ1ββanβ2β for each nβ₯3. What is the sum of the first 2001 terms of this sequence if the sum of the first 1492 terms is 1985, and the sum of the first 1985 terms is 1492?
Solution:
Calculating the first eight terms of the sequence, one finds that it cycles in blocks of six terms; i.e., for n=1,2,3,β¦,an+6β=anβ. More specifically,
anβ=β©βͺβͺβͺβͺβͺβͺβͺβ¨βͺβͺβͺβͺβͺβͺβͺβ§βa1βa2βa2ββa1ββa1ββa2βa1ββa2ββ if n=1,7,13,β¦, if n=2,8,14,β¦, if n=3,9,15,β¦, if n=4,10,16,β¦, if n=5,11,17,β¦, if n=6,12,18,β¦β
Since the sum of any six consecutive terms of the sequence is zero, if we let snβ be the sum of the first n terms, then
snβ=β©βͺβͺβͺβͺβͺβͺβͺβ¨βͺβͺβͺβͺβͺβͺβͺβ§βa1βa1β+a2β2a2β2a2ββa1βa2ββa1β0β if n=1,7,13,β¦, if n=2,8,14,β¦, if n=3,9,15,β¦,2001,β¦,1492,β¦, if n=4,10,16,β¦,1985,β¦, if n=5,11,17,β¦, if n=6,12,18,β¦β
Therefore,
s1985β=a2ββa1β=1492
and
s1492β=2a2ββa1β=1985,
from which a2β=493 and s2001β=2a2β=986β.
The problems on this page are the property of the MAA's American Mathematics Competitions