<s>[INST] Closed Form of Recursion $a_n = \frac{6}{a_{n-1}-1}$ Given that $a_0=2$ and $a_n = \frac{6}{a_{n-1}-1}$, find a closed form for $a_n$.
I tried listing out the first few values of $a_n: 2, 6, 6/5, 30, 6/29$, but no pattern came out. 
 [/INST] I think that  Semiclassical proposed a very nice solution rewriting $$a_n = \frac{6}{a_{n-1}-1}$$ $$\dfrac{1}{a_n+2}=\dfrac{1}{2}-\dfrac{3/2}{a_{n-1}+2}$$ So, let us define $$b_n=\dfrac{1}{a_n+2}$$ (with $b_0=\dfrac{1}{4}$); so the recurrence equation is simply $$b_n=\dfrac{1}{4}-\dfrac{3}{2}b_{n-1}$$ from which $$b_n=\frac{1}{20} \left(4+\left(-\frac{3}{2}\right)^n\right)$$ and then $$a_n=\frac{20}{4+\left(-\frac{3}{2}\right)^n}-2$$ as shown by Git Gud.
</s>