uint64_t numIntPart(int32_t n, int32_t k)
Number of ways to partition a positive integer n into k parts.
Definition: intpart.c:26
int traverseIntPartitions(int n, int k, int(*visit)(int kk, int a[kk], void *data), void *data)
Partition a positive integer n into a sum of k positive integers.
Definition: intpart.c:82