Second-order linear discrete equations with constant coefficients

Consider the equation $$ ay_{n+2} + by_{n+1} + cy_n = f_n. $$

The complementary function has the form $y_n^{(c)} = k^n$ where the characteristic equation is $$ ak^2 + bk + c = 0. $$

Example (Fibonacci sequence)

For particular integral, guess the following:

$f_n$

$y_n^{(p)}$

$k^n$

$Ak^n$ if not complementary

$k^n$

$Ank^n$ if complementary

$n^p$

degree $p$ polynomial in $n$