Asymptotic Analysis & Recurrences

Answer & solution
Official answer: A
Approach: Solve the characteristic equation and then enforce both initial conditions.
1. Derivation. The characteristic polynomial r²−5r+6=(r−2)(r−3) gives T(n)=a 2ⁿ+b3ⁿ. T(0)=1 gives a+b=1, while T(1)=2 gives 2a+3b=2. Subtracting twice the first equation yields b=0, so a=1 and T(n)=2ⁿ exactly. Therefore A; the larger characteristic root does not contribute for these initial values.
2. Explanation and checks. A direct induction independently verifies the result: assuming T(n−1)=2n−1 and T(n−2)=2n−2, the recurrence becomes (10−6)2n−2=2n. Both base cases agree. The characteristic roots are distinct, so no factor n is introduced by repeated roots. More importantly, choosing the largest root without solving for its coefficient would give the wrong growth class here because that coefficient is zero.