|
| |
|
|
A066187
|
|
Sum of the second moments of all partitions of n.
|
|
0
| |
|
|
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; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| 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
| Sequence in context: A077037 A201110 A003261 * A114246 A048457 A048458
Adjacent sequences: A066184 A066185 A066186 * A066188 A066189 A066190
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Wouter Meeussen (wouter.meeussen(AT)pandora.be), Dec 15 2001
|
| |
|
|