How do you show that for $x \in (0,2 \pi)$ the following series converges? $$\sum_{n=1}^\infty \frac{\cos(xn)}{n}$$
Of course, this series doesn't converge absolutely. For $x= \pi$ you get the convergence with the Leibniz criterion. For other $x$ in that interval the cosine is still often enough positive and negative evenly distributed that I expect the series to converge. How to formally prove that?