Glad you asked...
Math and music are related in the most basic forms. Every beat of a song is counted by math, being addition in it's most basic form. Time signatures are based on how many beats per measure, again, math. You can find more information here:
http://www.ccds.charlotte.nc.us/mcgrail/...