Study the convergence of teh following series:
$$\sum_{n=1}^{\infty} \sin\bigg((-1)^n\log\bigg(1+\frac{1}{n}\bigg)+\frac{1}{n^2}\bigg)$$
Using the fact that $\sin(-x)=-\sin(x)$, I wrote again the series in the form:
$$\sum_{n=1}^{\infty} (-1)^n\sin\bigg(\log\bigg(1+\frac{1}{n}\bigg)+\frac{(-1)^n}{n^2}\bigg)$$
Then using Taylor series: $$\sum_{n=1}^{\infty} (-1)^n\bigg(\frac{1}{n}-\frac{1}{2n^2}+o\bigg(\frac{1}{n^2}\bigg)+\frac{(-1)^n}{n^2}\bigg)$$
My aim would be that of using Leibniz, but how to handle $o$ in this case? Thank you.
Note that $$\sin\bigg((-1)^n\log\bigg(1+\frac{1}{n}\bigg)+\frac{1}{n^2}\bigg)=(-1)^na_n+b_n$$ where $$a_n:=\sin\bigg(\log\bigg(1+\frac{1}{n}\bigg)\bigg)\cos\bigg(\frac{1}{n^2}\bigg),\quad b_n:=\cos\bigg(\log\bigg(1+\frac{1}{n}\bigg)\bigg)\sin\bigg(\frac{1}{n^2}\bigg)$$ Show that $x\to \sin(\log(1+x))\cos(x^2)$ is positive and increasing in a right neighbourhood of zero. Hence $a_n$ decreases to zero and $\sum_{n}(-1)^na_n$ is convergent by Leibniz. On the other hand $\sum_{n}b_n$ is convergent because $b_n\sim 1/n^2$. Hence the given series is convergent.