A surprising proportion of mathematicians are accomplished musicians. Is it because music and mathematics share patterns that are beautiful?