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.

A154570 The main diagonal of the successive differences of A154127.

Original entry on oeis.org

1, 3, -4, 2, -6, -2, -14, -18, -46, -82, -174, -338, -686, -1362, -2734, -5458, -10926, -21842, -43694, -87378, -174766, -349522, -699054, -1398098, -2796206, -5592402, -11184814, -22369618, -44739246, -89478482, -178956974, -357913938, -715827886
Offset: 0

Views

Author

Paul Curtz, Jan 12 2009

Keywords

Crossrefs

Programs

Formula

a(n) = a(n-1) + 2*a(n-2), n>0.
a(n+2) = 2*(-1)^(n+1)*A140966(n).
a(n+5) = -2*A083582(n).
a(2n+1) = 3 - A078008(2n) = 3 - A047849(n).
a(2n+2) = -4 - A078008(2n+1) = -4 - A020988(n).
G.f.: (1+2*x-9*x^2)/((1+x)*(1-2*x)). - R. J. Mathar, Feb 25 2009

Extensions

Edited and extended by R. J. Mathar, Feb 25 2009