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.

A153058 a(0)=4; a(n)=n^2+a(n-1) for n>0.

Original entry on oeis.org

4, 5, 9, 18, 34, 59, 95, 144, 208, 289, 389, 510, 654, 823, 1019, 1244, 1500, 1789, 2113, 2474, 2874, 3315, 3799, 4328, 4904, 5529, 6205, 6934, 7718, 8559, 9459, 10420, 11444, 12533, 13689, 14914, 16210, 17579, 19023, 20544, 22144, 23825, 25589
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    a=4;lst={};Do[a=n^2+a;AppendTo[lst,a],{n,0,5!}];lst
    RecurrenceTable[{a[0]==4,a[n]==n^2+a[n-1]},a,{n,50}] (* Harvey P. Dale, Apr 27 2012 *)

Formula

G.f.: (4-11x+13x^2-4x^3)/(1-x)^4. a(n)=4+A000330(n). - R. J. Mathar, Jan 17 2009

Extensions

Added indices to definition and corrected offset. - R. J. Mathar, Jan 17 2009