I'm trying to determine if it is possible to sum an infinite series of the form:
\begin{equation} \frac{1}{x}+\frac{a}{x^2(x-\frac{a}{x})}+\frac{a^2}{x^2(x-\frac{a}{x})^2(x-\frac{a}{x-\frac{a}{x}})}+\frac{a^3}{x^2(x-\frac{a}{x})^2(x-\frac{a}{x-\frac{a}{x}})^2(x-\frac{a}{x-\frac{a}{x-\frac{a}{x}}})}+\ldots \end{equation}
where you can see that each successive term can be obtained from the previous one, by multiplying by $a$, squaring one of the terms in the denominator and adding a continued fraction with an extra contribution.
I know how to sum the infinite continued fraction that one gets for the "last" term, but I do not know how could I sum the whole expression, or even if it is possible. I have checked that numerically it converges, at least for a certain range.