Given:
$$\sum_{n = 0}^{\infty} a_nx^n = f(x)$$
where:
$$a_{n+2} = a_{n+1} - \frac{1}{4}a_n$$
is the recurrence relationship for $a_2$ and above ($a_0$ and $a_1$ are also given).
Is there a nice closed form to this pretty recurrence relationship?
Given:
$$\sum_{n = 0}^{\infty} a_nx^n = f(x)$$
where:
$$a_{n+2} = a_{n+1} - \frac{1}{4}a_n$$
is the recurrence relationship for $a_2$ and above ($a_0$ and $a_1$ are also given).
Is there a nice closed form to this pretty recurrence relationship?
Hint:
Solving your recurrence relationship gives $$ a_n=c_12^{-n}+c_2n2^{-n}, $$ where $c_1$ and $c_2$ can be determined by $a_0$ and $a_1$.
You will end up calculating the sums $$ \sum_{n=0}^{+\infty} \Bigl(\frac{x}{2}\Bigr)^n $$ and $$ \sum_{n=0}^{+\infty} n\Bigl(\frac{x}{2}\Bigr)^n $$ Do you know how to do that? Ask to fill in details where necessary...
Since the characteristic polynomial of the recurrence $$ a_{n+2}=a_{n+1}-\frac{1}{4}a_n \tag{1}$$ is $p(x) = x^2-x+\frac{1}{4} = \left(x-\frac{1}{2}\right)^2$, we have that $$\left(2-x\right)^2\, f(x) = ax+b\tag{2}$$ where $a,b$ depend on the initial conditions. By decomposing $\frac{ax+b}{(2-x)^2}$ into partial fractions, we get: $$ a_n = 2^{-(n+2)} (b+(2 a+b) n). \tag{3}$$