OFFSET
1,1
COMMENTS
Primes p such that 5*p+8, 25*p+48, 125*p+248 and 625*p+1248 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 1 or 19 (mod 42) for n > 1. - John Cerkan, Oct 07 2016
PROG
(Magma) [n: n in [1..1000000] | IsPrime(n) and IsPrime(5*n+8) and IsPrime(25*n+48) and IsPrime(125*n+248) and IsPrime(625*n+1248)] // Vincenzo Librandi, Aug 04 2010
(PARI) is(n)=isprime(n) && isprime(5*n+8) && isprime(25*n+48) && isprime(125*n+248) && isprime(625*n+1248) \\ Charles R Greathouse IV, Oct 08 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved