OFFSET
0,5
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
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]+a[n-2]+a[n-3]]; Table[a[n], {n, 0, 40}]
Transpose[NestList[{#[[2]], #[[3]], FromDigits[Reverse[IntegerDigits[Total[ #]]]]}&, {0, 0, 1}, 40]][[1]] (* Harvey P. Dale, Dec 04 2012 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post and Ray Chandler, Dec 30 2004
EXTENSIONS
Incorrect formula removed by Georg Fischer, Dec 18 2020
STATUS
approved