OFFSET
1,1
COMMENTS
Primes p such that 8*p+9, 64*p+81, 512*p+657 and 4096*p+5265 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[120000]], AllTrue[Rest[NestList[8#+9&, #, 4]], PrimeQ]&] (* Harvey P. Dale, Jan 15 2016 *)
PROG
(Magma) [n: n in [1..5000000] | IsPrime(n) and IsPrime(8*n+9) and IsPrime(64*n+81) and IsPrime(512*n+657) and IsPrime(4096*n+5265)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved