Can you see the pattern?

Well, we have -2/((k/2)^2 Pi) in it, with spaces of three.
The pattern is easy to see, but hard to write down!

Up to Fourier Cosine Series