Problem

Source: Yugoslavia National Olympiad 2008

Tags: induction, quadratics, number theory, algebra proposed, algebra



The sequence $ (a_n)_{n\ge 1}$ is defined by $ a_1 = 3$, $ a_2 = 11$ and $ a_n = 4a_{n-1}-a_{n-2}$, for $ n \ge 3$. Prove that each term of this sequence is of the form $ a^2 + 2b^2$ for some natural numbers $ a$ and $ b$.