Algebra · real student question

A sequence satisfies a(n) = 4a(n-1) - 4a(n-2) for every integer n at least 2, with a(0) = -2025 and a(1) = 2026. Given that a(2025) = b times 2^c for constants b and c, find b/c.

Question

A sequence {an}\{a_n\} satisfies

an=4an14an2(n2)a_n=4a_{n-1}-4a_{n-2}\qquad(n\ge 2)

with a1=2026a_1=2026 and a0=2025a_0=-2025.

Given that a2025=b2ca_{2025}=b\cdot 2^{c} for constants bb and cc, find bc\dfrac{b}{c}.

Step-by-step solution

  1. Write the characteristic equation. For a linear recurrence with constant coefficients, guessing an=rna_n=r^n turns the relation into an algebraic equation. Substituting into an4an1+4an2=0a_n-4a_{n-1}+4a_{n-2}=0 and dividing by rn2r^{n-2}:

    r24r+4=0    (r2)2=0    r=2 (double root)r^2-4r+4=0\;\Longrightarrow\;(r-2)^2=0\;\Longrightarrow\;r=2\ \text{(double root)}

  2. Use the repeated-root form of the general solution. A double root gives only one geometric solution 2n2^n, so the second independent solution picks up a factor of nn:

    an=(A+Bn)2na_n=(A+Bn)\,2^{n}

    This is the step students most often get wrong — writing A2n+B2nA\cdot 2^n+B\cdot 2^n collapses to a single constant and cannot match two independent initial values.

  3. Fit the two initial conditions. From n=0n=0:

    a0=(A+0)20=A=2025a_0=(A+0)\cdot 2^0=A=-2025

    From n=1n=1:

    a1=(A+B)2=2026    A+B=1013    B=1013+2025=3038a_1=(A+B)\cdot 2=2026\;\Longrightarrow\;A+B=1013\;\Longrightarrow\;B=1013+2025=3038

    So an=(3038n2025)2na_n=(3038n-2025)\,2^{n}. A quick sanity check: a2=(60762025)4=16204a_2=(6076-2025)\cdot4=16204, and directly 4a14a0=4(2026)4(2025)=162044a_1-4a_0=4(2026)-4(-2025)=16204. They agree.

  4. Evaluate at n=2025n=2025 and factor the coefficient.

    a2025=(303820252025)22025=2025(30381)22025=2025303722025a_{2025}=(3038\cdot 2025-2025)\,2^{2025}=2025\,(3038-1)\,2^{2025}=2025\cdot 3037\cdot 2^{2025}

    Pulling out the common factor 20252025 before multiplying is what makes the last step clean — expanding first gives 6,149,9256{,}149{,}925, and you would then have to divide it back by 20252025.

  5. Read off bb and cc and divide. Matching a2025=b2ca_{2025}=b\cdot 2^{c} gives b=20253037=6,149,925b=2025\cdot3037=6{,}149{,}925 and c=2025c=2025, so

    bc=202530372025=3037\frac{b}{c}=\frac{2025\cdot 3037}{2025}=3037

    The factor 20252025 cancels exactly, which is the whole point of how the problem was built: the answer is B1=3037B-1=3037.

Answer

30373037

Need to solve a different problem like this? Open the solver →