OFFSET
1,1
COMMENTS
Primes p such that 8*p+3, 64*p+27, 512*p+219 and 4096*p+1755 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[200000]], AllTrue[Rest[NestList[8#+3&, #, 4]], PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Oct 04 2015 *)
PROG
(Magma) [n: n in [1..5000000] | IsPrime(n) and IsPrime(8*n+3) and IsPrime(64*n+27) and IsPrime(512*n+219) and IsPrime(4096*n+1755)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved