OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1000
EXAMPLE
7, 7+4=11, 7+16=23, 7+64=71, 7+256=263, 7+1024=1031 are all primes; the smallest such a sextuple is {7,11,23,71,263,1031}.
MATHEMATICA
Select[Prime@ Range[10^5], Function[p, AllTrue[Range@ 5, PrimeQ[p + 4^#] &]]] (* Michael De Vlieger, Aug 09 2017 *)
PROG
(PARI) isok(n) = isprime(n) && isprime(n+4) && isprime(n+16) && isprime(n+64) && isprime(n+256) && isprime(n+1024); \\ Michel Marcus, Dec 22 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved