OFFSET
0,1
COMMENTS
a(n_odd)=7, a(n=2+4k,k=0,1,...)=29, a(64)=274568286337 is unusually large.
LINKS
Hans Havermann, Table of n, a(n) for n = 0..1023 (terms 0..319 from Antti Karttunen)
FORMULA
MATHEMATICA
Table[FactorInteger[2^n+5^n][[1, 1]], {n, 0, 80}] (* or *) Riffle[Table[ FactorInteger[2^n+5^n][[1, 1]], {n, 0, 80, 2}], 7] (* The second program is faster *) (* Harvey P. Dale, Mar 02 2015 *)
PROG
(PARI) A122118(n) = { my(k=(2^n+5^n)); forprime(p=if(64==n, 274568286337, 2), k, if(!(k%p), return(p))); }; \\ Antti Karttunen, Nov 02 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 19 2006
STATUS
approved