|
|
A128785
|
|
a(n) = n^2*6^n.
|
|
1
|
|
|
0, 6, 144, 1944, 20736, 194400, 1679616, 13716864, 107495424, 816293376, 6046617600, 43898443776, 313456656384, 2207257288704, 15359376162816, 105791621529600, 722204136308736, 4891804579528704, 32905425960566784
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
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
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|