We are given this recursive function: $a_n - 4a_{n-2} = 3^n$, starting with $a_0 = 1$ and $a_1 = 3$, and we have to find a closed formula for $a_n$, for every $n = 0,1,..$ using generating functions.
What is the thought process for questions like this?