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.

A099430 a(n) = 2^n+(-1)^n-1.

Original entry on oeis.org

1, 0, 4, 6, 16, 30, 64, 126, 256, 510, 1024, 2046, 4096, 8190, 16384, 32766, 65536, 131070, 262144, 524286, 1048576, 2097150, 4194304, 8388606, 16777216, 33554430, 67108864, 134217726, 268435456, 536870910, 1073741824, 2147483646
Offset: 0

Views

Author

Paul Barry, Oct 15 2004

Keywords

Comments

Jacobsthal-Lucas numbers less 1.
For n >= 1, a(n) is also the number of periodic points of period n of the Period Doubling and the Thue-Morse Chain. [Natascha Neumaerker (naneumae(AT)math.uni-bielefeld.de), Apr 06 2009]

Crossrefs

Cf. A014551.

Programs

Formula

G.f.: (1-2x+3x^2)/((1-x)(1-x-2x^2)) = (1-2x+3x^2)/((1-x^2)(1-2x)).
a(n) = A014551(n)-1.
zeta(z) = (1-z)/((1+z)(1-2z)). [Natascha Neumaerker (naneumae(AT)math.uni-bielefeld.de), Apr 06 2009]
a(n) = 2*a(n-1)+a(n-2)-2*a(n-3). - Wesley Ivan Hurt, Jun 09 2023