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.

A048501 a(n) = 2^(n-1)*(8*n-14)+8.

Original entry on oeis.org

1, 2, 12, 48, 152, 424, 1096, 2696, 6408, 14856, 33800, 75784, 167944, 368648, 802824, 1736712, 3735560, 7995400, 17039368, 36175880, 76546056, 161480712, 339738632, 713031688, 1493172232, 3120562184, 6509559816, 13555990536, 28185722888, 58518929416
Offset: 0

Views

Author

Keywords

Comments

a(n) = T(7, n), array T given by A048494.

Programs

  • Magma
    [2^(n-1)*(8*n-14)+8 : n in [0..30]]; // Vincenzo Librandi, Sep 25 2011
    
  • Mathematica
    Table[2^(n-1) (8n-14)+8,{n,0,30}] (* or *) LinearRecurrence[{5,-8,4},{1,2,12},30] (* Harvey P. Dale, Nov 22 2014 *)
  • PARI
    Vec((1-3*x+10*x^2)/((1-x)*(1-2*x)^2) + O(x^40)) \\ Colin Barker, Aug 24 2016

Formula

G.f.: (1-3*x+10*x^2) / ((1-x)*(1-2*x)^2). - Colin Barker, Aug 24 2016

Extensions

Formula from Ralf Stephan, Jan 15 2004