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.

Showing 1-1 of 1 results.

A253101 a(n) = A253100(2^n-1).

Original entry on oeis.org

1, 6, 24, 96, 372, 1416, 5340, 20040, 75012, 280392, 1047324, 3910440, 14597508, 54485736, 203357724, 758969736, 2832570372, 10571410056, 39453266460, 147242049000, 549515715972, 2050822387752, 7653776980764, 28564291826760, 106603402909188, 397849344975816, 1484794027325724, 5541326864990376
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A253100.

Programs

  • Mathematica
    Join[{1}, LinearRecurrence[{6, -9, 2}, {6, 24, 96}, 30]] (* Jean-François Alcover, Jan 09 2019 *)
  • PARI
    Vec((1-3*x^2+4*x^3) / ((1-2*x)*(1-4*x+x^2)) + O(x^30)) \\ Colin Barker, Feb 04 2017

Formula

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

Extensions

Typo in the definition corrected by Antti Karttunen, Nov 18 2016
Showing 1-1 of 1 results.