login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A229354
Total sum of n-th powers of parts in all partitions of 3.
2
6, 9, 17, 39, 101, 279, 797, 2319, 6821, 20199, 60077, 179199, 535541, 1602519, 4799357, 14381679, 43112261, 129271239, 387682637, 1162785759, 3487832981, 10462450359, 31385253917, 94151567439, 282446313701, 847322163879, 2541932937197, 7625731702719
OFFSET
0,1
FORMULA
a(n) = Sum_{k=1..3} A066633(3,k) * k^n.
a(n) = 4 + 2^n + 3^n.
G.f.: -(29*x^2-27*x+6)/((x-1)*(2*x-1)*(3*x-1)).
MAPLE
a:= n-> 4+2^n+3^n:
seq(a(n), n=0..30);
MATHEMATICA
LinearRecurrence[{6, -11, 6}, {6, 9, 17}, 30] (* Harvey P. Dale, Jun 21 2022 *)
CROSSREFS
Row n=3 of A213191.
Sequence in context: A316067 A316068 A327796 * A316069 A351851 A301720
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Sep 20 2013
STATUS
approved