Extend number_of_divisors for larger numbers.
Adds function for partitioning sequences.