Enumerates all possible partitions of a given positive number taking the summands fro input parameters