OFFSET
0,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
MAPLE
R:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||n):
a:= proc(n) option remember; `if`(n<2, n,
R(a(n-1)) +a(n-2))
end:
seq(a(n), n=0..50); # Alois P. Heinz, Jun 18 2014
MATHEMATICA
a[0] = 0; a[1] = 1; a[n_] := a[n] = FromDigits[ Reverse[ IntegerDigits[ a[n - 1]]]] + a[n - 2]; Table[ a[n], {n, 0, 36}] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved