login
A254362
a(n) = 3*2^n + 3^n + 6.
5
10, 15, 27, 57, 135, 345, 927, 2577, 7335, 21225, 62127, 183297, 543735, 1618905, 4832127, 14447217, 43243335, 129533385, 388206927, 1163834337, 3489930135, 10466644665, 31393642527, 94168344657, 282479868135, 847389272745, 2542067154927, 7626000138177
OFFSET
0,1
COMMENTS
This is the sequence of third terms of "third partial sums of m-th powers".
Is this 10 followed by A087719? [Bruno Berselli, Jan 30 2015]
FORMULA
G.f.: -(47*x^2-45*x+10) / ((x-1)*(2*x-1)*(3*x-1)). - Colin Barker, Jan 30 2015
a(n) = 6*a(n-1) -11*a(n-2) +6*a(n-3). - Colin Barker, Jan 30 2015
MATHEMATICA
Table[3 * 2^n + 3^n + 6, {n, 0, 29}] (* Alonso del Arte, Jan 29 2015 *)
LinearRecurrence[{6, -11, 6}, {10, 15, 27}, 30] (* Harvey P. Dale, Oct 11 2024 *)
PROG
(PARI) vector(30, n, n--; 3*2^n + 3^n + 6) \\ Colin Barker, Jan 30 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Luciano Ancora, Jan 29 2015
STATUS
approved