Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145068
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145068 Zero followed by partial sums of A059100, starting at n=1. +0
2
0, 3, 9, 20, 38, 65, 103, 154, 220, 303, 405, 528, 674, 845, 1043, 1270, 1528, 1819, 2145, 2508, 2910, 3353, 3839, 4370, 4948, 5575, 6253, 6984, 7770, 8613, 9515, 10478, 11504, 12595, 13753, 14980, 16278, 17649, 19095, 20618, 22220, 23903, 25669 (list; graph; listen)
OFFSET

1,2

FORMULA

G.f.: x*(3-3*x+2*x^2)/(1-x)^4.

a(1) = 0; a(n) = sum_{j=1..n-1} A059100(j) for n > 1.

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

EXAMPLE

a(2) = a(1) + 1^2 + 2 = 0 + 1 + 2 = 3; a(3) = a(2) + 2^2 + 2 = 3 + 4 + 2 = 9.

MATHEMATICA

lst={0}; s=0; Do[s+=n^2+2; AppendTo[lst, s], {n, 5!}]; lst

PROGRAM

(PARI) {a=-2; for(n=0, 42, print1(a=a+n^2+2, ", "))}

CROSSREFS

Cf. A059100 (n^2+2), A002522 (n^2 + 1), A145066 (partial sums of A002522, starting at n=1), A008865 (n^2 - 2), A145067 (zero followed by partial sums of A008865), A005563 ((n+1)^2 - 1), A051925 (zero followed by partial sums of A005563).

Sequence in context: A037048 A139142 A037257 this_sequence A027114 A145070 A011796

Adjacent sequences: A145065 A145066 A145067 this_sequence A145069 A145070 A145071

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 30 2008

EXTENSIONS

Edited. - Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 21 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 10:40 EST 2009. Contains 167421 sequences.


AT&T Labs Research