Input a number of beats to be played in the bar, and a list of possible permutations of strong and weak beats will be returned, with the following rules:
- the first beat of the bar must be strong;
- no two strong beats may occur sequentially;
- only two weak beats may occur sequentially;
- the number of beats must be greater than 4, and less than 17 (mostly for the sake of not crashing the browser!).
Number of beats: