Prove that the series
converges. Examine if the convergence is absolute.
Lemma: Let such that then the sequence
With the above lemma in mind the series converges as a consequence of Dirichlet’s theorem. The fact that the series does not converge absolutely can be seen by applying the Jordan inequality
hence the series diverges absolutely.