A sequence of positive integers with a1=1 and a9+a10=646 is formed so that the first three terms are in geometric progression, the second, third, and fourth terms are in arithmetic progression, and, in general, for all n≥1, the terms a2n−1,a2n,a2n+1 are in geometric progression, and the terms a2n,a2n+1, and a2n+2 are in arithmetic progression. Let an be the greatest term in this sequence that is less than 1000. Find n+an.
解析
Solution 1
Let x=a2; then solving for the next several terms, we find that a3=x2,a4=x(2x−1),a5=(2x−1)2,a6=(2x−1)(3x−2), and in general, a2n=f(n−1)f(n), a2n+1=f(n)2, where f(n)=nx−(n−1).[1]
From
a9+a10=f(4)2+f(4)f(5)=(4x−3)(9x−7)=646=2⋅17⋅19
, we find that by either the quadratic formula or trial-and-error/modular arithmetic that x=5. Thus f(n)=4n+1, and we need to find the largest n such that either f(n)2orf(n)f(n−1)<1000. This happens with f(7)f(8)=29⋅33=957, and this is the 2(8)=16th term of the sequence.
The answer is 957+16=973.
^ We can show this by simultaneous induction: since
a2n=2a2n−1−a2n−2=2a2(n−1)+1−a2(n−1)=2f(n−1)2−f(n−2)f(n−1)=f(n−1)[2f(n−1)−f(n−2)]=f(n−1)[(2n−2−n+2)x−(2n−4−n+3)]=f(n−1)f(n)
and
a2n+1=a2n−1a2n2=f(n−1)2f(n−1)2f(n)2=f(n)2
Solution 2
Let x=a2. It is apparent that the sequence grows relatively fast, so we start trying positive integers to see what x can be. Finding that x=5 works, after bashing out the rest of the terms we find that a16=957 and a17=1089, hence our answer is 957+16=973.
Solution 3
We can find the value of a9 by its bounds using three conditions:
$0
a10<a11 (note that the sequence must be increasing on all terms, not monotonically increasing) a10<a9a102→a9<a10
a11=a9a102=a9(646−a9)2, so necessarily a9 is a factor of 6462, which factorizes to 22⋅172⋅192
Rearranging conditions 1 and 2, we get:
3646<a9<2646
trying all the terms from the third condition, it is clear that a9=289 is the only solution. Then we can calculate the next few terms from there since we have a10 as well, to find that a16=957 and a17=1089, thus we have our answer of 957+16=973.
~KafkaTamura
Solution 4 (quadratic)
Let a2=x. We will write the first 10 terms in terms of x (this will require some rigorous polynomial division):
Since every number in the series has to be a positive integer, x must be 5. Using x=5 we can find a9 and a10:
a9=16(5)2−24(5)+9=16(25)−120+9=400−120+9=289.a10=20(5)2−31(5)+12=20(25)−155+12=500−155+12=357.
Notice that our arithmetic differences are increasing by 16: 20→36→52→68... So following this pattern, the next differences will be 84,100,116.
The geometric ratios follow a pattern of adding 4 to the numerator and denominator: 59→913→1317. The next ratios will be 1721,2125,2529.
We have everything we need to calculate the next few terms:
a11=357⋅1721=441,a12=441+84=525,a13=525⋅2125=625,a14=625+100=725,a15=725⋅2529=841,a16=841+116=957. We stop here because it's clear the next term will exceed 1000. Since a16=957, the answer is 957+16=973.