A175284 Primes p of the form p=n^2+3n+9 such that q=p^2+3p+9 is also prime.
7, 37, 163, 709, 877, 46447, 67867, 81517, 118687, 238639, 292147, 331207, 430999, 497737, 548347, 628063, 1120429, 1412539, 1462897, 1655089, 1680919, 1955809, 2642257, 3205897, 3358063, 3394813, 3781087, 4654813, 4715419, 4745869
Offset: 1
Keywords
Programs
-
Mathematica
Reap[Do[If[PrimeQ[p=n^2+3n+9]&&PrimeQ[q=p^2+3p+9],Sow[p]],{n,-1,10^4}]][[2,1]]
Comments