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.

A295736 a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = 1, a(1) = -2, a(2) = -2, a(3) = 1.

Original entry on oeis.org

1, -2, -2, 1, -3, 8, 1, 29, 22, 91, 97, 268, 333, 761, 1030, 2111, 3013, 5764, 8521, 15565, 23574, 41699, 64249, 111068, 173269, 294577, 463750, 778807, 1234365, 2054132, 3272113, 5408165, 8647510, 14219515, 22801489, 37348684, 60019101, 98023145, 157780102
Offset: 0

Views

Author

Clark Kimberling, Nov 30 2017

Keywords

Comments

a(n)/a(n-1) -> (1 + sqrt(5))/2 = golden ratio (A001622), so that a( ) has the growth rate of the Fibonacci numbers (A000045).

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{1, 3, -2, -2}, {1, -2, -2, 1}, 100]

Formula

a(n) = a(n-1) + a(n-3) + a(n-4), where a(0) = 1; a(1) = -2, a(2) = -2, a(3) = 1.
G.f.: (1 - 3 x - 3 x^2 + 11 x^3)/(1 - x - 3 x^2 + 2 x^3 + 2 x^4).