Consider the linear recurrence $a_n = 2a_{n−1} − a_{n−2}$ with initial conditions $a_1 = 3, a_0 = 0$. We have
$x^2 − 2x + 1 = (x − 1)^2$.
Thus $ x = 1$ and $a_n$ = $u(1)^n + v(1)^n$.
Why do we get $a_n = u + nv$ instead of $a_n = u + v$ since $1^n = 1$?