Let $\left (a_n \right )_{n=1}^{\infty}$ be an infinite sequence.
$\left (a_n \right )_{n=1}^{\infty}$ is defined by:
$a_1 = 0$ $\; \; \; a_{n+1} = \frac{1}{1+ a_n}\; \; \forall n \in \mathbb{N}$
I need to show that $\left (a_n \right )_{n=1}^{\infty}$ converges and find it's limit. I want to do it by finding a formula for both $a_{2k}$ and $a_{2k-1}$ and then use some basic limit arithmetics rules, however I didn't manage to find a formula for both sub-sequences.
I would love to get some recommendations on how to find such formula and how to approach these kind of questions.
Thanks!