OFFSET
0,7
COMMENTS
a(51) > 10^5
EXAMPLE
a(0)=0 because 2^0+5^0=1+1=2 is prime.
MATHEMATICA
f[n_] := Block[{p = If[n < 3 || EvenQ@n, 0, 1]}, While[ !PrimeQ[5^p + 2^n ], p += 2 ]; p] ; Table[f@n, {n, 0, 38}] (* Robert G. Wilson v *)
PROG
(PARI) for(n=0, 38, k=2^n; m=0; while(!isprime(k+5^m), m++); print1(m, ", ")) \\ Klaus Brockhaus, Oct 15 2006
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Zak Seidov, Oct 11 2006
EXTENSIONS
Entries through a(38) checked by Klaus Brockhaus, Oct 15 2006
a(40)-a(50) from Robert G. Wilson v, Nov 14 2006
a(39)=52519 from Max Alekseyev, Mar 15 2011
STATUS
approved