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.

A153258 n^3 - (n+2)^2.

Original entry on oeis.org

-4, -8, -8, 2, 28, 76, 152, 262, 412, 608, 856, 1162, 1532, 1972, 2488, 3086, 3772, 4552, 5432, 6418, 7516, 8732, 10072, 11542, 13148, 14896, 16792, 18842, 21052, 23428, 25976, 28702, 31612, 34712, 38008, 41506, 45212, 49132, 53272, 57638
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := n^3-(n+2)^2; lst={}; Do[AppendTo[lst, a[n]], {n, 0, 5!}]; lst

Formula

G.f.: 2*x*(x^3+4*x-2)/(x-1)^4. [Colin Barker, Oct 08 2012]