I have this exercise where I need to find if the sum of infinite series is convergent:
$\sum_{n=1}^ \infty \frac{(\sin^2(x) - \sin (x) +1)^n}{\ln(1+n)} $ for x $ \in (\pi/2,\pi) $
Now I decided to do a ratio test for $ \frac{|a_n+1|}{a_n} $ but I am currently stuck on simplifying the result and proceeding with the solution.
$ \frac{(\sin^2(x) - \sin (x) +1)^{n+1}}{\ln(2+n)} \cdot \frac{\ln(1+n)}{(\sin^2(x) - \sin (x) +1)^{n}}$
I am not really sure how to proceed from here, any further help would be appreciated, thanks!
hint
$$\ln(n+2)=\ln\Bigl((n+1)(1+\frac{1}{n+1})\Bigr)$$
The limit of the ratio is
$$L=\sin^2(x)-\sin(x)+1$$
but
$$-1<\sin(x)\Bigl(\sin(x)-1\Bigr)<0$$
thus
$$0<L<1$$ the series is convergent.