Problem

Source: recursive sequence, prove that the terms are integers

Tags: induction, algebra proposed, algebra



The sequence $ a_n$ is defined as follows: $ a_0=1, a_1=1, a_{n+1}=\frac{1+a_{n}^2}{a_{n-1}}$. Prove that all the terms of the sequence are integers.