support partition function of bignum n (work in progress)