My formula booklet in signals analysis states that a condition for the Fourier series of a periodic function $x(t)$ to exist is that one period of $x(t)$ contains a finite number of maxima and minima.
Is this true, and does it mean that I can't find the Fourier series of a square wave? (Because I just did.)