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.

A121720 a(n) = 4*a(n-2) - 2*a(n-4).

Original entry on oeis.org

0, 1, 1, 3, 4, 10, 14, 34, 48, 116, 164, 396, 560, 1352, 1912, 4616, 6528, 15760, 22288, 53808, 76096, 183712, 259808, 627232, 887040, 2141504, 3028544, 7311552, 10340096, 24963200, 35303296, 85229696, 120532992, 290992384, 411525376, 993510144, 1405035520
Offset: 1

Views

Author

Roger L. Bagula and Gary W. Adamson, Sep 07 2006

Keywords

Comments

For n>1, number of walks of length n-2 on the 5-vertex graph with edges {{0,1}, {1,2}, {2,3}, {2,4}} starting at vertex 3. - Sean A. Irvine, Jun 03 2025

Crossrefs

Essentially the same as A007068.

Programs

  • Mathematica
    LinearRecurrence[{0,4,0,-2},{0,1,1,3},30] (* Harvey P. Dale, May 21 2014 *)

Formula

a(n) = A007068(n-2), n>2.
G.f.: -x^2*(-1-x+x^2)/(1-4*x^2+2*x^4). [Oct 14 2009]

Extensions

Definition replaced by recurrence - The Assoc. Editors of the OEIS, Oct 14 2009
More terms from Harvey P. Dale, May 21 2014