This question was in my exam:
Calculate the series: $$\sum^\infty_{n=1}\frac{(-1)^n}{n^2}$$.
I answered wrong and the teacher noted: "You should use dirichlet's theorem"
.
I know my question is a bit general,
but can you please explain me how should I have solved this sum?
Thanks in advance.