Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059859
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059859 Sum of squares of first n quarter-squares (A002620). +0
2
0, 0, 1, 5, 21, 57, 138, 282, 538, 938, 1563, 2463, 3759, 5523, 7924, 11060, 15156, 20340, 26901, 35001, 45001, 57101, 71742, 89166, 109902, 134238, 162799, 195923, 234339, 278439, 329064, 386664, 452200, 526184, 609705, 703341 (list; graph; listen)
OFFSET

0,4

FORMULA

If n even a(n) = n*(n+2)*(2*n^3+n^2-2*n+4)/160, if n odd a(n) = (n^2-1)*(2*n^3+5*n^2+2*n-5)/160.

MAPLE

A059859 := n->add(A002620(i)^2, i=0..n);

f1 := n->1/160*(n-1)*(1+n)*(2*n^3+5*n^2+2*n-5); f2 := n->1/160*n*(n+2)*(2*n^3+n^2-2*n+4); A059859 := n-> if n mod 2 = 0 then f2(n) else f1(n); fi;

CROSSREFS

Cf. A002620.

Sequence in context: A146854 A033275 A166464 this_sequence A146617 A112561 A143567

Adjacent sequences: A059856 A059857 A059858 this_sequence A059860 A059861 A059862

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Feb 26 2001

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research