I have a question that I'm trying to solve:

I've been asked to show that the Fourier series is: $$f(t)=\frac{\pi}{4}-\frac{1}{2\pi}\sum_{n=-\infty}^{\infty}\frac{1}{n^2}\left ( 1-\left ( 1-in\pi \right )\left ( -1 \right )^n \right )e^{int}$$
Now, I've been working to solve the Fourier coefficient and I have arrived at:
$$c_{n}=-\frac{1}{2\pi}\left ( \frac{1}{n^2}\left ( 1-\left ( 1-in\pi \right )\left ( -1 \right )^n \right ) \right )$$
I can see by plugging it into the standard form of the Fourier series that I should have $$f(t)=-\frac{1}{2\pi}\sum_{n=-\infty}^{\infty}\frac{1}{n^2}\left ( 1-\left ( 1-in\pi \right )\left ( -1 \right )^n \right )e^{int}$$
But I'm at a complete loss for where the $\frac{\pi}{4}$ comes from in the solution I'm supposed to be showing. Can anyone explain this to me? It's not really shown in my text where these leading terms arise from. The worked examples never state the full Fourier series, just the coefficient, and subsequent sections just show these leading terms without explanation.
Also, all these sums have a $n\neq 0$ under them, but I don't know how to LaTeX that...