OFFSET
1,1
COMMENTS
Primes p such that 8*p+7, 64*p+63, 512*p+511 and 4096*p+4095 are also primes. - Vincenzo Librandi, Aug 04 2010
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
FORMULA
a(n) == 9 (mod 10). - John Cerkan, Oct 08 2016
MATHEMATICA
rp4Q[p_]:=AllTrue[Rest[NestList[8#+7&, p, 4]], PrimeQ]; Select[Prime[Range[110000]], rp4Q] (* Harvey P. Dale, Aug 03 2023 *)
PROG
(Magma) [n: n in [1..5000000] | IsPrime(n) and IsPrime(8*n+7) and IsPrime(64*n+63) and IsPrime(512*n+511) and IsPrime(4096*n+4095)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved