OFFSET
1,1
COMMENTS
Primes p such that 5*p+6, 25*p+36 and 125*p+186 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
MATHEMATICA
p3Q[n_]:=And@@PrimeQ/@NestList[5#+6&, n , 3]; Select[Prime[Range[2000]], p3Q] (* Harvey P. Dale, Feb 20 2011 *)
PROG
(Magma) [n: n in [1..150000] | IsPrime(n) and IsPrime(5*n+6) and IsPrime(25*n+36) and IsPrime(125*n+186)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved