$f(x) = \pi^2 - x ^2$ on $|x|<\pi$ and $f(x+2\pi)=f(x)$.
I did find its Fourier expansion
$f(x)=\frac{2}{3}\pi^2$+$\sum_{n \geq 1}\frac{4}{n^2}(-1)^{n+1}\cos x$
And by putting $x=\pi$, I got the zeta of $2$ , $\zeta(2) = \sum_{n \geq 1}\frac{1}{n^2} = \frac{\pi^2}{6}$.
Similarly, if i try do this process about $f(x) = \pi^4-x^4$ then I could get the value $\zeta(4)=\frac{\pi^4}{90}$ if so, why can't I get the value of $\zeta(3)$ with $f(x) = \pi^3 - x ^3$ ? I wonder the principle that I can't do in general, why can't we get the value the zeta of odd $n$?