It is said that Pythagoras formed the connection between music and math when he heard a smith hammering the anvil. He found out that they formed harmonious beats because of the order of the weights which were being hit. They were in the ratio 6,8,9 and 12 pounds, which formed Do, Fa, Sol, Do of the music scale.