Prove that $a_{n+1}=\frac{a_n^2+4}{a_{n-1}}$ recursion formula is equivalent to $\frac{a_{n+1}+a_{n-1}}{a_n}=6 \hspace{0,5cm}$
if $a_1=1, a_2=5$ $\forall n \gt1$
I spent a couple of hours with the task, which can be found on the below link, when I noticed the equivalence between the two recursion formulas, unfortunately I could not prove it.
Finding the general formula of $a_{n+1}=\frac{a_n^2+4}{a_{n-1}}$ with $a_1=1$ and $a_2=5$
Could someone help with the proof, thanks in advance.
To give an induction proof, suppose that
$$a_{n+1}={a_n^2+4\over a_{n-1}}=6a_n-a_{n-1}$$
which holds for the base case, $n=1$ when $a_0=1$ and $a_1=5$, since $(5^2+4)/1=29=6\cdot5-1$. We want to prove that $(a_{n+1}^2+4)/a_n=6a_{n+1}-a_n$, in which case we can say both are equal to $a_{n+2}$.
From $a_{n+1}=6a_n-a_{n-1}$ we have
$$0=a_{n+1}(a_{n+1}-6a_n+a_{n-1})=a_{n+1}^2-6a_na_{n+1}+a_{n+1}a_{n-1}$$
From $a_{n+1}a_{n-1}=a_n^2+4$, this becomes
$$0=a_{n+1}^2-6a_na_{n+1}+a_n^2+4=a_{n+1}^2+4-a_n(6a_{n+1}-a_n)$$
and thus $(a_{n+1}^2+4)/a_n=6a_{n+1}-a_n$, as desired.