Find a general expression for $\frac{p}{p+1 - \frac{p}{p+1 - \frac{p}{p+1 - \ldots}}}$ $n$ times for any value of $p \in \Bbb R$ .
Obs: Consider $n=1 : \frac {p}{p+1}$ and $n=2: \frac {p}{p+1 - \frac{p}{p+1}}$
I don't know how to work with continued fractions because i never worked with them before.
Any hints?
In case you desire an answer to check against, I will leave one below. Be sure to solve the problem before looking at what I've written!