I would appreciate if somebody could help me with the following problem:
Question: Defined by $a_{1} =1,a_{2}=2$ and $a_n a_{n+2}=a_{n+1}^2+1(n\geq 1)$
Proof. $\frac{a_n^2+a_{n+1}^2+1}{a_{n}a_{n+1}} $ is constant for $n\geq 1$
I tried (Mathematical Induction) but couldn’t get it that way.
$b_n:=\dfrac{a_n^2+(a_{n+1}^2+1)}{a_{n}a_{n+1}}=\dfrac{a_n^2+(a_{n}a_{n+2})}{a_{n}a_{n+1}}=\dfrac{a_n+a_{n+2}}{a_{n+1}}$
and
$b_{n+1}=\dfrac{(a_{n+1}^2)+a_{n+2}^2+(1)}{a_{n+1}a_{n+2}}=\dfrac{(a_na_{n+2})+a_{n+2}^2}{a_{n+1}a_{n+2}}=\dfrac{a_n+a_{n+2}}{a_{n+1}}=b_n$