When determining the form of the particular solution for a recurrence relation is quiet simple, I use the following table:
| $f(n)$ | $a^p_n$ |
|---|---|
| c | c |
| $n$ | $cn+d$ |
| $n^2$ | $cn^2+dn+e$ |
| $r^n$ | $cr^n$ |
These generally work for most of my problems but how about when there is a mixture of equations like:
$F(n) = n^22^n$, $F(n) = n^3(-2)^n$, or $F(n) = n2^n$ How can I guess the form of the particular solution in these cases?