Consider the recursion given by \begin{equation}f(n) = 2f(n−1)− f(n−2)+6 \text{ for } n ≥ 2 \text{ with } f (0) = 2 \text{ and }f (1) = 4 \end{equation} Use mathematical induction to prove that \begin{equation}f (n) = 3n^2 −n+2 \text{ for all integers } n ≥ 0 \end{equation}
I don't see how I can use induction to prove this problem.
HINT:
Let $f(n)=3n^2-n+2$ holds true for $0\le n\le m-1$
So, using Complete/Strong induction
$f(m)=2f(m-1)-f(m-2)+6=\cdots$