Skip to content

Problem 3

Consider the sequence an{a_n}, where ana_n is the nnth term in the sequence defined by a1=1a_1=1, a2=2a_2=2 and the recursive relation an=4an−1−4an−2+1a_n=4a_{n-1}-4a_{n-2}+1 for all n≥3n\geq3. It is possible to define ana_n for all n≤0n\leq0 requiring the recurrence relation to also be true for n≤2n\leq2. In this way, all ana_n for n≤0n\leq0 can be written as a2b\frac{a}{2^b}, where aa is odd. Find the sum of the absolute values for the greatest (least negative, e.g. −5>−7-5>-7) 3 nn‘s where the value of bb for nn and n+1n+1 differs by at least 9. For example: n=−5n=-5 does not satisfy this condition because a−5=6126a_{-5}=\frac{61}{2^6} and a−4=5926a_{-4}=\frac{59}{2^6}, and the exponents (the 6’s) do not differ by at least 9.

Solution

Answer: 15361536

First solve the homogeneous recurrence an=4an−1−4an−2a_n=4a_{n-1}-4a_{n-2}. Its characteristic equation is t2−4t+4=0t^2-4t+4=0, with repeated root 22, so its general solution is λ12n+λ2n2n\lambda_1 2^n+\lambda_2 n2^n.

The constant sequence an=1a_n=1 is a particular solution of the original recurrence. Adding this and using the initial conditions gives

an=λ12n+λ2n2n+1,λ1=−14,λ2=14,an=2n−2(n−1)+1.a_n=\lambda_1 2^n+\lambda_2 n2^n+1,\qquad \lambda_1=-\frac14,\quad\lambda_2=\frac14,\qquad a_n=2^{n-2}(n-1)+1.

For nonpositive nn, the denominator exponent in lowest terms is b=2−n−v2(∣n−1∣)b=2-n-v_2(|n-1|), where v2(x)v_2(x) counts the factors of 22 in xx. A change of at least 99 requires a sufficiently large change in this valuation.

The three greatest qualifying indices are −256,−512,−768-256,-512,-768. For example, the denominator exponents for n=−256n=-256 and n+1=−255n+1=-255 are 258258 and 249249. The requested sum is 256+512+768=1536256+512+768=1536.