OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..200
FORMULA
EXAMPLE
37, 37+4=41, 37+16=53, 37+64=101, 37+256=293, 37+1024=1061, 37+4096=4133, 37+16384=16421 are all primes; the smallest such a 8-chain of primes is {37,41,53,101,293,1061,4133,16421}.
MAPLE
filter:= n -> andmap(isprime, [n, n+4, n+4^2, n+4^3, n+4^4, n+4^5, n+4^6, n+4^7]):
select(filter, [seq(i, i=7..10^7, 6)]); #Robert Israel, Nov 11 2019
PROG
(PARI) isok(n) = isprime(n) && isprime(n+4) && isprime(n+16) && isprime(n+64) && isprime(n+256) && isprime(n+1024) && isprime(n+4096) && isprime(n+16384); \\ Michel Marcus, Dec 22 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Dec 22 2013
STATUS
approved