OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (18,-108,216).
FORMULA
From R. J. Mathar, Jul 25 2009: (Start)
a(n) = 18*a(n-1) - 108*a(n-2) + 216*a(n-3).
G.f.: -6*x*(1+6*x)/(6*x-1)^3. (End)
MATHEMATICA
Table[n^2 6^n, {n, 0, 30}] (* or *) LinearRecurrence[{18, -108, 216}, {0, 6, 144}, 30] (* Harvey P. Dale, Oct 03 2011 *)
PROG
(Magma) [n^2*6^n: n in [0..20]]; // Vincenzo Librandi, Oct 04 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved