Q: i've always wondered how much maths there is in music
A: as long as you are able to make a pattern, and break it (not necessarily in that order) then you should be all set