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.

A292295 Sum of values of vertices of type A at level n of the hyperbolic Pascal pyramid.

Original entry on oeis.org

0, 0, 6, 18, 54, 174, 582, 1974, 6726, 22950, 78342, 267462, 913158, 3117702, 10644486, 36342534, 124081158, 423639558, 1446395910, 4938304518, 16860426246, 57565095942, 196539531270, 671027933190, 2291032670214, 7822074814470, 26706233917446, 91180786040838
Offset: 0

Views

Author

Eric M. Schmidt, Sep 13 2017

Keywords

Crossrefs

Cf. A264237.

Programs

  • Mathematica
    CoefficientList[Series[6*x^2*(1 - 2*x)/((1 - x)*(1 - 4*x + 2*x^2)), {x, 0, 30}], x] (* Wesley Ivan Hurt, Sep 17 2017 *)
  • PARI
    concat(vector(2), Vec(6*x^2*(1 - 2*x) / ((1 - x)*(1 - 4*x + 2*x^2)) + O(x^30))) \\ Colin Barker, Sep 17 2017

Formula

a(n) = 5*a(n-1) - 6*a(n-2) + 2*a(n-3), n >= 4.
From Colin Barker, Sep 17 2017: (Start)
G.f.: 6*x^2*(1 - 2*x) / ((1 - x)*(1 - 4*x + 2*x^2)).
a(n) = (-3/2)*(-4 + (4-3*sqrt(2))*(2+sqrt(2))^n + (2-sqrt(2))^n*(4+3*sqrt(2))) for n>0.
(End)