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.

A156346 Palindromic period of length 12: repeat 1,2,-4,4,-2,-1,-1,-2,4,-4,2,1.

Original entry on oeis.org

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

Views

Author

Paul Curtz, Feb 08 2009

Keywords

Crossrefs

Cf. A156283.

Programs

  • Mathematica
    PadRight[{},50,{1,2,-4,4,-2,-1,-1,-2,4,-4,2,1}] (* Harvey P. Dale, May 29 2021 *)

Formula

a(n) == A154811(n) (mod 9).
a(n) = ( (2*A154811(n)) mod 9 ) - A154811(n).
G.f.: -(x-1)*(x^4+3*x^3-x^2+3*x+1) / ( (1+x^2)*(x^4-x^2+1) ). - R. J. Mathar, Mar 08 2011