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.

This page as a plain text file.
%I A153058 #16 Sep 06 2023 09:47:49
%S A153058 4,5,9,18,34,59,95,144,208,289,389,510,654,823,1019,1244,1500,1789,
%T A153058 2113,2474,2874,3315,3799,4328,4904,5529,6205,6934,7718,8559,9459,
%U A153058 10420,11444,12533,13689,14914,16210,17579,19023,20544,22144,23825,25589
%N A153058 a(0)=4; a(n)=n^2+a(n-1) for n>0.
%H A153058 Indranil Ghosh, <a href="/A153058/b153058.txt">Table of n, a(n) for n = 0..64950</a>
%H A153058 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (4, -6, 4, -1).
%F A153058 G.f.: (4-11x+13x^2-4x^3)/(1-x)^4. a(n)=4+A000330(n). - _R. J. Mathar_, Jan 17 2009
%t A153058 a=4;lst={};Do[a=n^2+a;AppendTo[lst,a],{n,0,5!}];lst
%t A153058 RecurrenceTable[{a[0]==4,a[n]==n^2+a[n-1]},a,{n,50}] (* _Harvey P. Dale_, Apr 27 2012 *)
%Y A153058 Cf. A000330, A056520, A153056, A153057, A179904.
%K A153058 nonn,easy
%O A153058 0,1
%A A153058 _Vladimir Joseph Stephan Orlovsky_, Dec 17 2008
%E A153058 Added indices to definition and corrected offset. - _R. J. Mathar_, Jan 17 2009