more ideas on the solution for the CountNonDivisible problem
sample code to construct divisors of an int from its prime factors