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.

A018839 Squares on infinite chessboard at n moves from center using a {2,3} fairy knight.

Original entry on oeis.org

1, 8, 32, 88, 192, 304, 372, 416, 472, 540, 608, 676, 744, 812, 880, 948, 1016, 1084, 1152, 1220, 1288, 1356, 1424, 1492, 1560, 1628, 1696, 1764, 1832, 1900, 1968, 2036, 2104, 2172, 2240, 2308, 2376, 2444, 2512, 2580, 2648, 2716, 2784, 2852, 2920, 2988
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A297740 (partial sums).

Programs

  • Mathematica
    CoefficientList[Series[(x + 1) (12 x^8 - 24 x^6 - 20 x^5 + 28 x^4 + 20 x^3 + 12 x^2 + 5*x + 1)/(x - 1)^2, {x, 0, 50}], x] (* Vincenzo Librandi, Oct 16 2013 *)

Formula

For n >= 8, a(n) = 68n - 72. - David W. Wilson
G.f.: (x+1)*(12*x^8 - 24*x^6 - 20*x^5 + 28*x^4 + 20*x^3 + 12*x^2 + 5*x + 1)/(x-1)^2. - Colin Barker, Oct 04 2012