compute all divisors of a positive integer