Spectrum (frequency-domain) of a square wave

spectrum of a square wave