OFFSET
0,2
COMMENTS
All terms are congruent to {0, 2, 4} mod 6 (or mod 9 or mod 18). [Bruno Berselli, Feb 07 2013]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (16,-96,256,-256)
FORMULA
G.f.: 4*x*(1 + 16*x + 16*x^2)/(1 - 4*x)^4. - Vincenzo Librandi, Feb 07 2013
MATHEMATICA
CoefficientList[Series[4*x*(1 + 16*x + 16*x^2)/(1 - 4*x)^4, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 07 2013 *)
Table[n^3 4^n, {n, 0, 20}] (* or *) LinearRecurrence[{16, -96, 256, -256}, {0, 4, 128, 1728}, 20] (* Harvey P. Dale, Nov 24 2022 *)
PROG
(Magma) [n^3*4^n: n in [0..30]]; // Vincenzo Librandi, Feb 07 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved