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.

A259109 2*A000540.

Original entry on oeis.org

0, 2, 130, 1588, 9780, 41030, 134342, 369640, 893928, 1956810, 3956810, 7499932, 13471900, 23125518, 38184590, 60965840, 94520272, 142795410, 210819858, 304911620, 432911620, 604443862, 831203670, 1127275448, 1509481400, 1997762650, 2615594202, 3390435180
Offset: 0

Views

Author

N. J. A. Sloane, Jun 24 2015

Keywords

Crossrefs

Cf. A000540.

Programs

  • Mathematica
    LinearRecurrence[{8,-28,56,-70,56,-28,8,-1},{0,2,130,1588,9780,41030,134342,369640},30] (* Harvey P. Dale, Jul 18 2020 *)
  • PARI
    concat(0, Vec(2*x*(x+1)*(x^4+56*x^3+246*x^2+56*x+1)/(x-1)^8 + O(x^100))) \\ Colin Barker, Jun 28 2015

Formula

a(n) = n/21-n^3/3+n^5+n^6+(2*n^7)/7. - Colin Barker, Jun 28 2015
G.f.: 2*x*(x+1)*(x^4+56*x^3+246*x^2+56*x+1) / (x-1)^8. - Colin Barker, Jun 28 2015