OFFSET
1,1
EXAMPLE
Smallest such prime is 13 and the relevant four primes are
2, 173, 815730977 and a 571-digit prime.
MATHEMATICA
{ta=Table[0, {100}], u=1}; {exponents, {a, b, c, d}={0, 2, 8, 512}} Do[s0=Prime[j]^a+2^a; s1=Prime[j]^b+2^b; s2=Prime[j]^c+2^c; s3=Prime[j]^d+2^d; If[PrimeQ[s0]&&PrimeQ[s1]&&PrimeQ[s2]&&PrimeQ[s3], Print[{j, Prime[j]}]; ta[[u]]=Prime[j]; u=u+1], {j, 1, 1000000}] ta
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 02 2004
EXTENSIONS
a(6)-a(23) from Donovan Johnson, Oct 12 2008
STATUS
approved