|
Search: id:A066188
|
|
|
| A066188 |
|
Sum of the second moments of all partitions of n. |
|
+0 1
|
|
| 0, 1, 6, 22, 58, 141, 289, 579, 1054, 1885, 3161, 5280, 8371, 13220, 20183, 30605, 45178, 66448, 95546, 136877, 192759, 270146, 373387, 514187, 699429, 947846, 1272067, 1700456, 2254007, 2977623
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
The first element of each partition is given weight 0.
|
|
EXAMPLE
|
a(3)=6 because the second moments of all partitions of 3 are {3}.{0},{2,1}.{0,1} and {1,1,1}.{0,1,4}, resulting in 0,1,5; summing to 6.
|
|
MATHEMATICA
|
Table[ Plus@@Map[ #.Range[ 0, -1+Length[ # ] ]^2&, Partitions[ n ] ], {n, 30} ]
|
|
CROSSREFS
|
Adjacent sequences: A066185 A066186 A066187 this_sequence A066189 A066190 A066191
Sequence in context: A034134 A081441 A127760 this_sequence A071239 A105450 A011888
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Wouter Meeussen (wouter.meeussen(AT)pandora.be), Dec 15 2001
|
|
|
Search completed in 0.002 seconds
|