login
A014259
Iccanobif numbers: add reversal of a(n-1) to a(n-2).
10
0, 1, 1, 2, 3, 5, 8, 13, 39, 106, 640, 152, 891, 350, 944, 799, 1941, 2290, 2863, 5972, 5658, 14537, 79199, 113734, 516510, 129349, 1460431, 1469990, 2460072, 4170632, 4820786, 11040916, 66724797, 90783682, 95363506, 151320041, 235386657, 908003573, 610687466
OFFSET
0,4
LINKS
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
STATUS
approved