login
A103564
Primes p such that 3*p^2 + 2 is prime.
3
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,1
LINKS
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 *)
PROG
(Magma) [p: p in PrimesUpTo(5000)|IsPrime(3*p^2+2)] // Vincenzo Librandi, Jan 30 2011
CROSSREFS
Sequence in context: A358547 A062736 A257716 * A083201 A228209 A176903
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 23 2005
STATUS
approved