Sum of 1st, 3rd, 5th, and 7th harmonics approximates square wave. Sum of 1st, 3rd, 5th, 7th and 9th harmonics approximates square wave. The end result of adding the first five odd harmonic waveforms together (all at the proper amplitudes, of course) is a close approximation of a square wave.