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.

A199928 Trisection 1 of A199802.

Original entry on oeis.org

2, -1, -8, 15, 22, -104, 17, 510, -721, -1708, 5806, 1503, -31520, 31519, 121778, -312396, -233455, 1885694, -1152593, -8196936, 16079050, 21867343, -109306936, 24246207, 528076766, -780482080, -1726348607, 6132589566, 1190594623, -32799408980, 34705374038, 124349675919, -331866549712
Offset: 0

Views

Author

N. J. A. Sloane, Nov 12 2011

Keywords

Comments

Also trisection 2 of A199803.

Programs

  • Mathematica
    LinearRecurrence[{-1,-5,1,-1},{2,-1,-8,15},40] (* Harvey P. Dale, Aug 01 2021 *)
  • PARI
    Vec((2 + x + x^2) / (1 + x + 5*x^2 - x^3 + x^4) + O(x^40)) \\ Colin Barker, Dec 27 2017

Formula

G.f.: ( 2+x+x^2 ) / ( 1+x+5*x^2-x^3+x^4 ). - R. J. Mathar, Jun 18 2014
a(n) = -a(n-1) - 5*a(n-2) + a(n-3) - a(n-4) for n>3. - Colin Barker, Dec 27 2017