I've been getting the characteristic equation from relations of the form
$$U_n=3U_{n-1}-U_{n-3}$$
Thanks to this question I made before: How to get the characteristic equation?
Now, I recently have been asked to get such equation from this:
$$f(n) = \begin{cases}5 & \text{ if n = 0} \\ f(n-1) + 3 + 2n + 2^n \end{cases}$$
I tried to apply the same idea. I took:
$$F_n=F_{n-1} + 3 + 2n + 2^n$$
Changed the subscripts to exponents...
$$F^n=F^{n-1} + 3 + 2n + 2^n$$
Replaced $F$ by the desired variable...
$$x^n=x^{n-1} + 3 + 2n + 2^n$$
Divided by the smallest exponent (I guess it is $n-1$):
$$x=1+ 3^{-x+1} + 2n^{-x+1} + 2^{n-x+1}$$
And this doesn't look right. As you can see, the terms $3$, $2n$ and $2^n$ messed up the whole thing.
What did I do wrong, and how can I get the characteristic equation from this?