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

A128803
n*(n-1)*9^n.
1
0, 0, 162, 4374, 78732, 1180980, 15943230, 200884698, 2410616376, 27894275208, 313810596090, 3451916556990, 37280698815492, 396531069219324, 4163576226802902, 43237137739876290, 444724845324441840
OFFSET
0,3
FORMULA
G.f.: 162*x^2/(1-9*x)^3. - Vincenzo Librandi, Feb 12 2013
a(n) = 27*a(n-1)-243*a(n-2)+729*a(n-3). - Vincenzo Librandi, Feb 12 2013
a(n) = 162*A081139(n). - R. J. Mathar, Apr 26 2015
MATHEMATICA
LinearRecurrence[{27, -243, 729}, {0, 0, 162}, 30] (* or *) CoefficientList[Series[162 x^2/(1 - 9 x)^3, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 12 2013 *)
PROG
(Magma) [(n^2-n)*9^n: n in [0..25]]; /* or */ I:=[0, 0, 162]; [n le 3 select I[n] else 27*Self(n-1)-243*Self(n-2)+729*Self(n-3): n in [1..25]]; // Vincenzo Librandi, Feb 12 2013
CROSSREFS
Sequence in context: A249295 A221871 A245955 * A035746 A285046 A022151
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved