OFFSET
1,2
MATHEMATICA
digits=10 P[n_Integer?Positive] := P[n] =Prime[P[n-1]]+Abs[Prime[n]-P[n-1]] P[1] = 1 a1=Table[Floor[P[n]], {n, 1, digits}]
nxt[{n_, a_}]:={n+1, Prime[a]+Abs[Prime[n+1]-a]}; Transpose[NestList[nxt, {1, 1}, 13]][[2]] (* Harvey P. Dale, Sep 29 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Sep 24 2003
EXTENSIONS
More terms from Harvey P. Dale, Sep 29 2015
STATUS
approved