divisors check without prime factors

This should be a bit faster.
If we can preserve the ordering we can even throw out
the Collections.sort.
improved performance of problem21 a bit