|
Search: id:A066187
|
|
|
| A066187 |
|
Sum of the second moments of all partitions of n. |
|
+0 1
|
|
| 1, 7, 23, 66, 145, 321, 600, 1137, 1964, 3379, 5463, 8888, 13714, 21206, 31737, 47319, 68727, 99718, 141488, 200383, 279097, 387302, 530286, 724113, 976949, 1314106, 1751079, 2325412, 3062942, 4022617
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
The first element of each partition is given weight 1.
|
|
EXAMPLE
|
a(3)=23 because the second moments of all partitions of 3 are {3}.{1},{2,1}.{1,4} and {1,1,1}.{1,4,9}, resulting in 3,6,14; summing to 23.
|
|
MATHEMATICA
|
Table[ Plus@@Map[ #.Range[ Length[ # ]]^2&, Partitions[ n ]], {n, 30} ]
|
|
CROSSREFS
|
Adjacent sequences: A066184 A066185 A066186 this_sequence A066188 A066189 A066190
Sequence in context: A104149 A001275 A003261 this_sequence A114246 A048457 A048458
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Wouter Meeussen (wouter.meeussen(AT)pandora.be), Dec 15 2001
|
|
|
Search completed in 0.002 seconds
|