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.

A225505 a(n) = triangular(a(n-1)+a(n-2)) if n > 1, else a(n) = n.

Original entry on oeis.org

0, 1, 1, 3, 10, 91, 5151, 13741903, 94490753712985, 4464252567106907867941273716, 9964775491460730298984873904585383048580645394630925051
Offset: 0

Views

Author

Alex Ratushnyak, May 09 2013

Keywords

Crossrefs

Programs

  • Python
    prpr, prev = 0, 1
    for i in range(1, 17):
      print(prpr, end=', ')
      n = prpr+prev
      cur = n*(n+1)//2
      prpr, prev = prev, cur