OFFSET
1,1
COMMENTS
Primes p such that 5*p+2 and 25*p+12 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[1000]], And@@PrimeQ[NestList[5#+2&, #, 2]]&] (* Harvey P. Dale, Nov 24 2012 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(n) and IsPrime(5*n+2) and IsPrime(25*n+12)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved