A sequence is defined over non-negative integral indexes in the following way: a0=a1=3, an+1an−1=an2+2007.
Find the greatest integer that does not exceed a2006a2007a20062+a20072.
解析
Solutions
Solution 1
Define a function f(n) on the non-negative integers, as
f(n)=anan+1an2+an+12=an+1an+anan+1
We want ⌊f(2006)⌋.
Consider the relation an+1an−1=an2+2007. Dividing through by anan−1, we get
.−−−−−−−−−−−−anan+1=an−1an+anan−12007−−−−−−−−−−−−(1)
and multiplying both sides by an+1an−1, we get
.−−−−−−−−−−−−anan−1=an+1an+anan+12007−−−−−−−−−−−−(2)
Adding LHS of (1) with RHS of (2) (and vice-versa), we get
anan+1+an+1an+anan+12007=an−1an+anan−1+anan−12007
i.e.
f(n)+anan+12007=f(n−1)+anan−12007
Rearranging this to the form f(n)−f(n−1) and summing over n=1 to n=2006, we notice that most of the terms on each side telescope. Without rearranging, you can see that most terms cancel against the corresponding term on the other side. We are left with
f(2006)+a2006a20072007=f(0)+a1a02007
We have f(0)=2, and 2007/a0a1=2007/9=223. So
f(2006)=2+223−a2006a20072007=224+(1−a2006a20072007)
Since all the ai are positive, (1) tells us that the ratio an+1/an of successive terms is increasing. Since this ratio starts with a1/a0=1, this means that the sequence (an) is increasing. Since a2=672 already, we must have a2006a2007>6722>2007. It follows that 0<1−a2006a20072007<1 and so ⌊f(2006)⌋=224.
Solution 2
We are given that
an+1an−1=an2+2007, an−12+2007=anan−2.
Add these two equations to get
an−1(an−1+an+1)=an(an+an−2)
anan+1+an−1=an−1an+an−2.
This is an invariant. Defining bi=ai−1ai for each i≥2, the above equation means
bn+1+bn1=bn+bn−11.
We can thus calculate that b2007+b20061=b3+b21=225. Using the equation a2007a2005=a20062+2007 and dividing both sides by a2006a2005, notice that b2007=a2006a2007=a2006a2005a20062+2007>a2005a2006=b2006. This means that
b2007+b20071<b2007+b20061=225. It is only a tiny bit less because all the bi are greater than 1, so we conclude that the floor of a2007a2006a20072+a20062=b2007+b20071 is 224.
Solution 3
The equation an+1an−1−an2=2007 looks like the determinant
an+1ananan−1=2007.
Therefore, the determinant of this matrix is invariant. Guessing that this sequence might be a linear recursion because of the matrix form given below, we define the sequence bn defined by b1=b2=3 and bn+1=αbn+βbn−1 for n≥2. We wish to find α and β such that an=bn for all n≥1. To do this, we use the following matrix form of a linear recurrence relation
(bn+1bnbnbn−1)=(α1β0)(bnbn−1bn−1bn−2).
When we take determinants, this equation becomes
det(bn+1bnbnbn−1)=det(α1β0)det(bnbn−1bn−1bn−2).
We want
det(bn+1bnbnbn−1)=2007
for all n. Therefore, we replace the two matrices by 2007 to find that
2007=det(α1β0)⋅20071=det(α1β0)=−β.
Therefore, β=−1. Computing that a3=672, and using the fact that b3=αb2−b1, we conclude that α=225. Clearly, a1=b1, a2=b2, and a3=b3. We claim that an=bn for all n≥1. We proceed by induction. If ak=bk for all k≤n, then clearly,
bnbn−2−bn−12=anan−2−an−12=2007.
We also know by the definition of bn+1 that
det(bn+1bnbnbn−1)=det(α1β0)det(bnbn−1bn−1bn−2).
We know that the RHS is 2007 by previous work. Therefore, bn+1bn−1−bn2=2007. After substuting in the values we know, this becomes bn+1an−1−an2=2007. Thinking of this as a linear equation in the variable bn+1, we already know that this has the solution bn+1=an+1. Therefore, by induction, an=bn for all n≥1. We conclude that an satisfies the linear recurrence an+1=225an−an−1.
It's easy to prove that an is a strictly increasing sequence of integers for n≥3. Now
a2007a2006a20072+a20062=a2006a2007+a2007a2006=a2006225a2006−a2005+a2007a2006.=225+a2007a2006−a2006a2005=225+a2005a2006a20062−a2005a2007.=225−a2005a20062007.
The sequence certainly grows fast enough such that a2005a20062007<1. Therefore, the largest integer less than or equal to this value is 224.
Solution 4 ( generalized )
This is a more elementary and rigorous solution to a slightly generalized version. The defining recursive sequence is generalized to
an+1an−1=an2+9k,−−−−−−−−−(1)
where k is a positive integer and a0=a1=3.
Lemma 1 : For n≥1,
an+1=(k+2)an−an−1.−−−−−−−−−(2)
We shall prove by induction. From (1), a2=3k+3. From the lemma, a2=(k+2)3−3=3k+3. Base case proven. Assume that the lemma is true for some t≥1. Then, eliminating the at−1 using (1) and (2) gives
(k+2)atat+1=at2+at+12+9k.−−−−−−−−−(3)
It follows from (2) that
(k+2)at+1−at=at(k+2)at+1at−at2=atat+12+9k=at+2,
where the last line followed from (1) for case n=t+1.
Lemma 2 : For n≥0,
an+1≥an.
Base case is obvious. Assume that at+1≥at for some t≥0. Then it follows that
at+2=atat+12+9k=at+1(atat+1)+9k≥at+1+9k>at+1.
This completes the induction.
Lemma 3 : For n≥1,
anan+1>9k
Using (1) and Lemma 2, for n≥1,
an+1an≥an+1an−1=an2+9k>9k
Finally, using (3), for n≥1,
anan+1an2+an+12=anan+1(k+2)anan+1−9k=k+2−anan+19k.
Using lemma 3, the largest integer less than or equal to this value would be k+1.
Solution 5 (pure algebra)
We will try to manipulate a0a1a02+a12 to get a1a2a12+a22.
a0a1a02+a12=a1a0+a0a12=a1a0+a0a12+2007−a02007 Using the recurrence relation, =a1a0+a2−a02007=a1a2a0a2+a22−a02007a2 Applying the relation to a0a2, =a1a2a12+2007+a22−a02007a2=a1a2a12+a22+a1a22007−a0a12007
We can keep on using this method to get that a0a1a02+a12=a2006a2007a20062+a20072+a2006a20072007−a2005a20062007+a2005a20062007−…−a0a12007
This telescopes to a0a1a02+a12=a2006a2007a20062+a20072+a2006a20072007−a0a12007
or a2006a2007a20062+a20072=a0a1a02+a12+a0a12007−a2006a20072007
Finding the first few values, we notice that they increase rapidly, so a2006a20072007<1. Calculating the other values, a2006a2007a20062+a20072=2+223−a2006a20072007.
The greatest number that does not exceed this is 224
Solution 6 (using limits)
Let's start by computing the first couple terms of the given sequence so we know what we're working with. It's given that a0=a1=0, and solving for a2 and a3 using the given relation we get a2=672=3(224) and a3=3(2242+223), respectively. It will be clear why I decided to factor these expressions as I did momentarily.
Next, let's see what the expression anan+1an2+an+12 looks like for small values of n. For n=1, we get 2241+2242, the floor of which is clearly 224 because the 1 in the numerator is insignificant. Repeating the procedure for n+1 is somewhat messier, but we end up getting 2243+224⋅2232244+2242⋅223⋅2+2242+2232. It's not too hard to see that 2244 is much larger than the sum of the remaining terms in the numerator, and that 2243 is similarly a lot greater than the other term in the denominator. In fact, the second-largest term in the numerator is only barely larger than 2243, while the second-largest term in the denominator is smaller than 2242. Thus, the floor of this expression will come out to be 224 as well.
Now we must consider whether this finding holds true for the rest of the sequence we're examining. First of all, notice that each time n increases by 1, the degrees of both the numerator and denominator increase by 2, because we are squaring the n+1th term in the numerator while the same term, appearing in the denominator, is being generated in part by squaring the term before it (seen in the relation an+12=(an−1an2+2007)2). Thus, the degree of the numerator will always be one greater than the degree of the denominator; we have only to show that the other terms in the expression remain sufficiently small enough so as not to disturb the ≈224:1 ratio between the two.
For the non-greatest terms in the expression to offset this ratio for values of n in the ballpark of 2006, they would have to have massive coefficients, because or else they are dwarfed by the additional 224 attached to the leading term. Thankfully, this is not the case. Since we are simply squaring previous terms repeatedly to get new terms, we end up getting a sequence that is approximately equal to 224k−1+224k−2...224k+224k−1+224k−2... for all k≥2, whose limk→∞=224.