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.

A199929 Trisection 2 of A199802.

Original entry on oeis.org

2, -4, -5, 27, -8, -128, 200, 405, -1525, -172, 8002, -9072, -29585, 83119, 47732, -483840, 357884, 2025929, -4346921, -4941000, 28343650, -10011500, -132300829, 215642979, 407506016, -1608010240, -81576032, 8313490269, -9921126365, -30119890772, 88120588898, 44244248328, -505045957225
Offset: 0

Views

Author

N. J. A. Sloane, Nov 12 2011

Keywords

Crossrefs

Cf. A199802.

Programs

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

Formula

From Colin Barker, Dec 27 2017: (Start)
G.f.: (2 - 2*x + x^2) / (1 + x + 5*x^2 - x^3 + x^4).
a(n) = -a(n-1) - 5*a(n-2) + a(n-3) - a(n-4) for n>3.
(End)