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.

A023442 Dying rabbits: a(n) = a(n-1) + a(n-2) - a(n-12).

Original entry on oeis.org

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 232, 375, 605, 977, 1577, 2546, 4110, 6635, 10711, 17291, 27913, 45060, 72741, 117426, 189562, 306011, 493996, 797461, 1287347, 2078173, 3354809, 5415691, 8742587
Offset: 0

Views

Author

Keywords

Crossrefs

See A000045 for the Fibonacci numbers.

Programs

  • Mathematica
    LinearRecurrence[{1,1,0,0,0,0,0,0,0,0,0,-1},{0,1,1,2,3,5,8,13,21,34,55,89},40] (* Harvey P. Dale, Aug 29 2021 *)
  • PARI
    concat(0, Vec(x/ ( (x-1)*(x^11+x^10+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2-1) ) + O(x^50))) \\ Michel Marcus, Sep 06 2017

Formula

G.f.: x/ ( (x-1)*(x^11+x^10+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2-1) ). - R. J. Mathar, Nov 29 2011