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”).

A128788
a(n) = n^2*9^n.
1
0, 9, 324, 6561, 104976, 1476225, 19131876, 234365481, 2754990144, 31381059609, 348678440100, 3797108212689, 40669853253264, 429575324987601, 4483851321172356, 46325504721296025, 474373168346071296
OFFSET
0,2
COMMENTS
Subsequence of A008854 and A047462. [Bruno Berselli, Feb 07 2013]
FORMULA
G.f.: 9*x*(1+9*x)/(1-9*x)^3. - Vincenzo Librandi, Feb 07 2013
a(n) = 27*a(n-1) - 243*a(n-2) + 729*a(n-3). - Vincenzo Librandi, Feb 07 2013
MATHEMATICA
CoefficientList[Series[9 x (1 + 9 x)/(1 - 9 x)^3, {x, 0, 30}], x] (* or *) LinearRecurrence[{27, -243, 729}, {0, 9, 324}, 20] (* Vincenzo Librandi, Feb 07 2013 *)
PROG
(Magma) [n^2*9^n: n in [0..20]]; // Vincenzo Librandi, Feb 07 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved