Given the recurrence relation $a_n = 2a_{n-1} - a_{n-2}$ how can I find the initial terms if $a_9 = 30$?
For which $x$ are there initial terms which make $a_9 = x$?
I know that there is no solution to the recurrence relation if $a_0 = 1$ and $a_1 = 2$ using the Characteristic Root Technique:
$ x^2 -2x +1 = 0$ which results in $r_1 = 1$ and $r_2 = 1$.
$a_n = ar_1^n + br_2^n$
$a_n = a(1)^n + b(1)^n$
$a_0 = a(1)^0 + b(1)^0$ which results in $1 = a + b$.
$a_1 = a(1)^1 + b(1)^1$ which results in $2 = a + b$.
Obviously $1 != 2$ resulting in no solution.
$$a_9=2a_8-a_7=2(2a_7-a_6)-a_7=3a_7-2a_6=3(2a_6-a_5)-2a_6=4a_6-3a_5=\cdots$$
and in the end
$$a_9=pa_1+qa_0.$$
This linear equation in two unknowns has an infinity of solutions.