A triangle wave is approximated with an additive harmonic series by summing up odd harmonics of the base frequency. Every other harmonic is phase-shifted by 180°, and their amplitudes diminish by the reciprocal of the square of their order.
https://en.wikipedia.org/wiki/Triangl...