login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098077 n^2*(n+1)*(2n+1)/3. 7
2, 20, 84, 240, 550, 1092, 1960, 3264, 5130, 7700, 11132, 15600, 21294, 28420, 37200, 47872, 60690, 75924, 93860, 114800, 139062, 166980, 198904, 235200, 276250, 322452, 374220, 431984, 496190, 567300, 645792, 732160, 826914, 930580, 1043700 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Sum of all matrix elements M(i,j) = i^2 + j^2 (i,j = 1,...,n).

FORMULA

a(n) = Sum[Sum[(i^2+j^2), {i, 1, n}], {j, 1, n}]

EXAMPLE

a(2) = (1^2+1^2) + (1^2+2^2) + (2^2+1^2) + (2^2+2^2) = 2 + 5 + 5 + 8 = 20

MATHEMATICA

Table[ Sum[i^2 + j^2, {i, n}, {j, n}], {n, 35}]

CROSSREFS

Sequence in context: A003283 A135188 A161007 * A063663 A071253 A069187

Adjacent sequences:  A098074 A098075 A098076 * A098078 A098079 A098080

KEYWORD

nonn

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Oct 24 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 01 2004

New definition from Ralf Stephan, Dec 01, 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 10:28 EST 2012. Contains 205763 sequences.