MathCastle
ChallengeChallengeModular Arithmetic

Modular Arithmetic · Challenge problem

Find the sum of all primes pp for which p2+2p^2 + 2 is also prime.