I have a series defined like this: $$\sum_{n=1}^{\infty} (-1)^n \left(\cos \frac{1}{n}\right)^n$$
and I need to find out whether it converges or diverges. I know that $\lim_{n\to\infty} |a_n| = 1$ but does it tell something about the series when the sign is alternating?
An infinite series $\sum\limits_{n} a_n$ will never converge if $a_n \not\to 0$. It doesn't matter if it is alternating or not.