pow6 and primes