The problem I'm trying to solve is how do we find all the integer sets [a1, a2, ... ,am] so that

```
a1 + a2 + ... + am = N

```

and with the constraint `ai >= 1`

For example if M = 4, and N = 7 there are three answers

```
[1,1,1,4]
[1,1,2,3]
[1,2,2,2]

```