MathCastle
Number TheoryMediumHard Number Theory

Hard Number Theory · Medium problem

Find all primes pp such that 2p+12p + 1 and 4p+14p + 1 are also prime. Give the sum of all such pp.