Function generates the nchoosek(N,K) combinations, and returns it.
Calculate integer partition count.
Calculate all integer partitions.