OFFSET
1,3
EXAMPLE
a(3) = prime(a(2)) + prime(a(1)) = 2 + 2 = 4.
MATHEMATICA
f[x_] := Prime[f[x-1]]+Prime[f[x-2]] {f[1]=1, f[2]=1}; Table[f[w], {w, 1, 15}]
nxt[{a_, b_}]:={b, Prime[a]+Prime[b]}; Join[{1}, Union[Flatten[NestList[nxt, {1, 1}, 13]]]] (* Harvey P. Dale, Sep 17 2013 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Joseph L. Pe, Apr 06 2002
EXTENSIONS
More terms from Labos Elemer, Apr 11 2003
a(16)-a(18) from Chai Wah Wu, Sep 18 2019
STATUS
approved