cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A014259 Iccanobif numbers: add reversal of a(n-1) to a(n-2).

Original entry on oeis.org

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

Views

Author

Keywords

Crossrefs

Programs

  • 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 *)