Can you see the pattern?

ak=-4/(k^2 Pi) for k odd and ak=0 for k even.

Well, that's easy enough! This should not surprise you; f(x)=|x| is an even function, so it has no odd part.

Up to f(x)=|x|