OFFSET
1,1
COMMENTS
Primes p such that 8*p+5, 64*p+45, 512*p+365, 4096*p+2925 and 32768*p+23405 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). - John Cerkan, Nov 06 2016
MATHEMATICA
p5Q[n_]:=And@@PrimeQ/@NestList[8#+5&, n, 5]; Parallelize[Select[Prime[Range[1510000]], p5Q]] (* Harvey P. Dale, Feb 22 2011 *)
PROG
(Magma) [n: n in [1..19000000] | IsPrime(n) and IsPrime(8*n+5) and IsPrime(64*n+45) and IsPrime(512*n+365) and IsPrime(4096*n+2925) and IsPrime(32768*n+23405)] // Vincenzo Librandi, Aug 05 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved