login
A167525
Primes p such that p and 3*p^2+3*p+1 are both prime
1
2, 3, 11, 13, 17, 23, 37, 41, 67, 157, 179, 191, 193, 227, 233, 251, 277, 283, 307, 331, 353, 359, 419, 443, 457, 479, 503, 541, 557, 563, 569, 587, 601, 653, 821, 823, 853, 877, 881, 937, 977, 991, 1103, 1109, 1171, 1249, 1259, 1277, 1301, 1381, 1453, 1523
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[2000]], PrimeQ[3 #^2 + 3 # + 1] &] (* Vincenzo Librandi, Feb 15 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(2000)| IsPrime(3*p^2+3*p+1)]; // Vincenzo Librandi, Feb 15 2014
CROSSREFS
Sequence in context: A244392 A045335 A020599 * A038967 A001916 A089151
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 19 2009
STATUS
approved