OFFSET
0,5
COMMENTS
MATHEMATICA
R[n_]:=FromDigits[Reverse[IntegerDigits[n]]]; Clear[a]; a[0]=0; a[1]=0; a[2]=1; a [n_]:=a[n]=R[a[n-1]+R[a[n-2]]+a[n-3]]; Table[a[n], {n, 0, 40}]
nxt[{a_, b_, c_}] := {b, c, IntegerReverse[c + IntegerReverse[b] + a]}; NestList[nxt, {0, 0, 1}, 40][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 30 2017 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post and Ray Chandler, Dec 30 2004
STATUS
approved