I have problems with solving recurrences using changing variables, The recurrence relation is: $a_n = -2n a_{n-1} + 3n(n - 1) a_{n-2}$
$a_0 = 1$
$a_1 = 2$
The solution in my book is as follows Letting $b_n = \frac{a_n}{n!}$ => $a_n = n! b_n$ And , $a_{n-1} = (n - 1)! b_{n-1}$ , $a_{n-2} = (n - 2)! b_{n-2}$ And it goes on .. I dont have any idea of what it is doing , very unclear, Im not that unfamilar with solving by changing variables but, I cant figure this out. Any help would be great .. Thank you ..
Hint: Let $b_n=\frac{a_n}{n!}$ for all $n$, so that $a_n=n!b_n$. Then making the appropriate substitutions, $n!b_n=-2n(n-1)!b_{n-1}+3n(n-1)(n-2)!b_{n-2}$. Then you can divide by $n!$ and have the simpler recurrence $b_n=-2b_{n-1}+3b_{n-2}$.