Considering $ x \in \mathbb{R} \setminus\{0\}$, I want to study: $$ \sum_{n=1}^{\infty} \frac{(-1)^n}{x^n}n\left(\frac{\pi}{2}-\arctan(n)\right)\log\left(2+\frac{1}{n}\right)$$
I want to find for which the set of $x$ where the series converge and whether to not it converges uniformly on $(1,\infty)$.
I was trying to use Mertens theorem for product of series, without success because the series with only $\frac{\pi}{2}-\arctan(n)$ diverges. What should I try?