A103564 Primes p such that 3*p^2 + 2 is prime.
3, 7, 13, 53, 67, 97, 227, 263, 277, 337, 487, 503, 547, 557, 613, 617, 647, 683, 727, 937, 953, 977, 1093, 1277, 1327, 1427, 1583, 1637, 1663, 1723, 1873, 1907, 1987, 2087, 2267, 2297, 2467, 2593, 2663, 2677, 2803, 3037, 3083, 3343, 3373, 3433, 3643
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(5000)|IsPrime(3*p^2+2)] // Vincenzo Librandi, Jan 30 2011
-
Mathematica
f[n_]:=PrimeQ[(n-1)^2+n^2+(n+1)^2];lst={};Do[p=Prime[n];If[f[p],AppendTo[lst,p]],{n,6!}];lst (* Vladimir Joseph Stephan Orlovsky, Oct 27 2009 *) Select[Prime[Range[600]],PrimeQ[3#^2+2]&] (* Harvey P. Dale, Nov 08 2011 *)