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.

A246030 a(n) = (5*2^(2*n)+(-2)^(n+1))/3.

Original entry on oeis.org

1, 8, 24, 112, 416, 1728, 6784, 27392, 109056, 437248, 1746944, 6991872, 27959296, 111853568, 447381504, 1789591552, 7158235136, 28633202688, 114532286464, 458130194432, 1832518680576, 7330078916608, 29320307277824, 117281245888512, 469124949999616, 1876499867107328, 7505999334211584
Offset: 0

Views

Author

N. J. A. Sloane, Aug 15 2014

Keywords

Comments

Essentially 8 times A083424.
Equals A160239(2^n). - N. J. A. Sloane, Oct 04 2014

Crossrefs

Programs

  • Magma
    I:=[1,8]; [n le 2 select I[n] else 2*Self(n-1)+8*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 20 2015
  • Mathematica
    CoefficientList[Series[(1 + 6 x) / (1 - 2 x - 8 x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 20 2015 *)

Formula

a(0)=1, a(1)=8; thereafter a(n)=2*a(n-1)+8*a(n-2).
G.f.: (1+6*x)/(1-2*x-8*x^2).
a(n) = A001045(n+2)^2 - A001045(n)^2. - J. Conrad, Apr 05 2023