quadratic primes solved