Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145066
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145066 Partial sums of A002522, starting at n=1. +0
4
2, 7, 17, 34, 60, 97, 147, 212, 294, 395, 517, 662, 832, 1029, 1255, 1512, 1802, 2127, 2489, 2890, 3332, 3817, 4347, 4924, 5550, 6227, 6957, 7742, 8584, 9485, 10447, 11472, 12562, 13719, 14945, 16242, 17612, 19057, 20579, 22180, 23862, 25627 (list; graph; listen)
OFFSET

1,1

FORMULA

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

EXAMPLE

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

MATHEMATICA

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

PROGRAM

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

CROSSREFS

Cf. A002522 (n^2 + 1), A005563 ((n+1)^2 - 1), A051925 (zero followed by partial sums of A005563).

Sequence in context: A166381 A083723 A045947 this_sequence A014148 A070070 A033937

Adjacent sequences: A145063 A145064 A145065 this_sequence A145067 A145068 A145069

KEYWORD

nonn

AUTHOR

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

EXTENSIONS

Edited. - Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Oct 17 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 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research