Can someone help me with this problem? I'm having a hard time proving this. It's been a long time since I have done mathematical proofs.
Suppose that $g_1,\ g_2,\ g_3,\ \ldots$ is a sequence of integers defined as follows:
$g_1=3$
$g_2=5$
$g_k=3g_{k-1} - 2g_{k-2}$ for all integers $k\geq 3$.Prove that $g_n=2^n+1$ for every integer $n\geq 1$.
Looking at the problem, it looks like I would want to use induction.