%I A145067
%S A145067 0,1,1,8,22,45,79,126,188,267,365,484,626,793,987,1210,1464,1751,2073,
%T A145067 2432,2830,3269,3751,4278,4852,5475,6149,6876,7658,8497,9395,10354,
%U A145067 11376,12463,13617,14840,16134,17501,18943,20462,22060,23739,25501
%V A145067 0,-1,1,8,22,45,79,126,188,267,365,484,626,793,987,1210,1464,1751,2073,
%W A145067 2432,2830,3269,3751,4278,4852,5475,6149,6876,7658,8497,9395,10354,
%X A145067 11376,12463,13617,14840,16134,17501,18943,20462,22060,23739,25501
%N A145067 Zero followed by partial sums of A008865.
%F A145067 a(1) = 0; a(n) = a(n-1) + (n-1)^2 - 2 for n > 0.
%e A145067 a(2) = a(1) + 1^2 - 2 = 0 + 1 - 2 = -1; a(3) = a(2) + 2^2 - 2 = -1 +
4 - 2 = 1.
%t A145067 lst={0};s=0;Do[s+=n^2-2;AppendTo[lst,s],{n,5!}];lst
%t A145067 Table[Sum[(i^2 + n - 1), {i, 0, n}], {n, -1, 41}] [From Zerinvary Lajos
(zerinvarylajos(AT)yahoo.com), Jul 11 2009]
%o A145067 (PARI) {a=2; for(n=0, 42, print1(a=a+n^2-2, ","))}
%Y A145067 Cf. A008865 (n^2 - 2), A002522 (n^2 + 1), A145066 (partial sums of A002522,
starting at n=1), A005563 ((n+1)^2 - 1), A051925 (zero followed by
partial sums of A005563).
%Y A145067 Sequence in context: A058508 A134783 A069099 this_sequence A112684 A048489
A124701
%Y A145067 Adjacent sequences: A145064 A145065 A145066 this_sequence A145068 A145069
A145070
%K A145067 sign
%O A145067 1,4
%A A145067 Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 30 2008
%E A145067 Edited. - Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 17 2008
|