Given $a_1 = -1$ and $a_{n+1} = e^{\arctan(a_n)}-1$ find $c$ such that $a_n \sim \frac cn$, $n\to+\infty$
I proved that this series converges to $0$, but I was unable to do the question in the title. In my book the following solution is given. Using Stolz–Cesàro theorem, we get:
From which we conclude that $c = -2$. I see that in this solution we used Taylor expansions of $e^{\arctan(a_n)}$ and $(1 + \frac 12 \arctan(a_n) + O(\arctan^2(a_n))^{-1}$. I just don't get it where did $a_n^{-1}$ go and I am not sure if I am right in my reasoning why $(1 + \frac 12 \arctan(a_n) + O(\arctan^2(a_n))^{-1} = 1 - \frac 12 \arctan(a_n) + O(\arctan^2(a_n))$.
For my second question, using Taylor expansion we get that $(1 + \frac 12 \arctan(a_n) + O(\arctan^2(a_n))^{-1} = 1 - (\frac12\arctan(a_n) + O(\arctan^2(a_n)) + O((\frac12\arctan(a_n) + O(\arctan^2(a_n))^2)$.
Further $O((\frac12\arctan(a_n) + O(\arctan^2(a_n))^2) = O(\frac14 \arctan^2(a_n) + \arctan(a_n)O(\arctan^2(a_n) + (O(\arctan^2(a_n))^2)$
Using the facts that:
$$O(f) + O(f) = O(f)$$
$$\frac 14 \arctan^2(a_n) = O(\arctan^2(a_n))$$
$$\arctan(a_n)O(\arctan^2(a_n)) = O(\arctan^2(a_n))$$
$$(O(\arctan^2(a_n))^2 = O(\arctan^2(a_n))$$
$$O(O(f)) = O(f)$$
we get that $O(\frac 14 \arctan^2(a_n) + \arctan(a_n)O(\arctan^2(a_n)) + (O(\arctan^2(a_n))^2) = O(\arctan^2(a_n))$. I am not sure if I made any mistakes here.
\arctan
instead of just writing arctan. $\endgroup$