Okay, so here is what I\'m trying to do. The user inputs a number. I\'m trying to write a recursive function that counts the number of sequences that sum up to that number (
Let f(n) be the function we want, that generates sequences of integers that add to n, without permutations
Define
f(n) = g(n,n) g(n,p) = { i \in 1..min(n, p): [i g(n-i,i)] }
f(n) = g(n,n)
g(n,p) = { i \in 1..min(n, p): [i g(n-i,i)] }