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.

A115953 Periodic {1,-1,0,0,1,-2,1,0,0,-1,1,-1}.

Original entry on oeis.org

1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1, 1, -1, 0, 0, 1, -2, 1, 0, 0, -1, 1, -1
Offset: 0

Views

Author

Paul Barry, Feb 02 2006

Keywords

Comments

Diagonal sums of number triangle A115952.

Programs

  • Mathematica
    LinearRecurrence[{-1,-1,0,1,1,1},{1,-1,0,0,1,-2},80] (* or *) PadRight[{},80,{1,-1,0,0,1,-2,1,0,0,-1,1,-1}] (* Harvey P. Dale, Jan 28 2023 *)

Formula

G.f.: (1-x^3-x^5)/((1-x^3)(1+x+x^2+x^3))