Way back around 500 BC, Pythagoras is credited with noticing the connection between mathematics and harmony.

A string can vibrate at various frequencies: its fundamental frequency, but also 2, 3, 4, 5, 6,... times as fast.

These different vibrations sound harmonious together!