P7 update

divide by smallest to larger primes