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.

A081656 a(n) = 2*6^n - 2^n.

Original entry on oeis.org

1, 10, 68, 424, 2576, 15520, 93248, 559744, 3358976, 20154880, 120931328, 725592064, 4353560576, 26121379840, 156728311808, 940369936384, 5642219749376, 33853318758400, 203119913074688, 1218719479496704, 7312316879077376, 43873901278658560, 263243407680339968
Offset: 0

Views

Author

Paul Barry, Mar 26 2003

Keywords

Comments

Binomial transform of A081655.
Inverse binomial transform of A081657.

Crossrefs

Third column of array A094424.

Programs

  • Magma
    [2*6^n-2^n: n in [0..30]]; // Vincenzo Librandi, Aug 10 2013
    
  • Mathematica
    CoefficientList[Series[(1 + 2 x) / ((1 - 6 x) (1 - 2 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 10 2013 *)
    Table[2*6^n-2^n,{n,0,20}] (* or *) LinearRecurrence[{8,-12},{1,10},20] (* Harvey P. Dale, Mar 17 2019 *)
  • PARI
    a(n)=2*6^n-2^n \\ Charles R Greathouse IV, Oct 07 2015

Formula

G.f.: (1+2*x)/((1-6*x)(1-2*x)).
E.g.f.: 2*exp(6*x) - exp(2*x).
a(0)=1, a(2)=10; for n>2, a(n) = 8*a(n-1) - 12*a(n-2). - Vincenzo Librandi, Aug 10 2013