OFFSET
1,1
COMMENTS
Primes p such that 5*p+8, 25*p+48, 125*p+248, 625*p+1248 and 3125*p+6248 are also primes. - Vincenzo Librandi, Aug 05 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 19 (mod 42) for n > 1. - John Cerkan, Oct 22 2016
MATHEMATICA
Select[Prime[Range[550000]], And@@PrimeQ[NestList[5#+8&, #, 5]]&] (* Harvey P. Dale, Jun 04 2011 *)
PROG
(Magma) [n: n in [1..10000000] | IsPrime(n) and IsPrime(5*n+8) and IsPrime(25*n+48) and IsPrime(125*n+248) and IsPrime(625*n+1248) and IsPrime(3125*n+6248)] // Vincenzo Librandi, Aug 05 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved