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.

A255459 a(n) = A255458(2^n-1).

Original entry on oeis.org

1, 5, 25, 101, 361, 1205, 3865, 12101, 37321, 114005, 346105, 1046501, 3155881, 9500405, 28566745, 85831301, 257756041, 773792405, 2322425785, 6969374501, 20912317801, 62745342005, 188252803225, 564791964101, 1694443001161, 5083463221205, 15250658099065
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A255458.

Programs

  • Mathematica
    LinearRecurrence[{6, -11, 6}, {1, 5, 25}, 30] (* Jean-François Alcover, Jan 09 2019 *)
  • PARI
    Vec((1-x+6*x^2) / ((1-x)*(1-2*x)*(1-3*x)) + O(x^30)) \\ Colin Barker, Feb 03 2017

Formula

G.f.: (1-x+6*x^2) / ((1-x)*(1-2*x)*(1-3*x)).
From Colin Barker, Feb 03 2017: (Start)
a(n) = (3 - 2^(3+n) + 2*3^(1+n)).
a(n) = 6*a(n-1) - 11*a(n-2) + 6*a(n-3) for n>2.
(End)