OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..239
MAPLE
R:= 1: S:= {1}: s:= 1:
for n from 2 to 20 do
for k from 2 do
v:= k^n;
if member(v, S) then next fi;
if isprime(s+v) then R:= R, v; S:= S union {v}; s:= s+v; fi;
od od:
R; # Robert Israel, Sep 27 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 15 2002
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 24 2003
STATUS
approved