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.

Showing 1-1 of 1 results.

A158678 Period 18: repeat 0,0,0,3,0,0,0,3,0,-3,0,3,0,-3,0,0,0,-3.

Original entry on oeis.org

0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3, 0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3, 0, 0, 0, 3, 0, 0, 0, 3, 0, -3, 0, 3, 0, -3, 0, 0, 0, -3
Offset: 1

Views

Author

Paul Curtz, Mar 24 2009

Keywords

Crossrefs

Formula

a(n) = A158674(n) - A158677(n) = a(n-18).
G.f.: 3*(1+x+x^2)*(x^2-x+1)*(x^4-x^2+1)*x^4/((x^6-x^3+1)*(x^6+x^3+1)). - R. J. Mathar, Apr 08 2009
a(n) = - a(n-6) - a(n-12) for n > 12. - Chai Wah Wu, Feb 18 2021

Extensions

Edited by R. J. Mathar, Apr 08 2009
Showing 1-1 of 1 results.