Math and music are intimately related. Not necessarily on a conscious level, but sure. – Stephen Sondheim