OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (16,-96,256,-256).
FORMULA
G.f.: 8*x*(1+8*x)/(1-4*x)^4. - R. J. Mathar, Dec 19 2008
a(1)=8, a(2)=192, a(3)=2304, a(4)=20480, a(n)=16*a(n-1)-96*a(n-2)+ 256*a(n-3)-256*a(n-4). - Harvey P. Dale, May 12 2011
E.g.f.: 8*exp(4*x)*x*(1 + 8*x + 8*x^2). - Stefano Spezia, Sep 02 2024
MATHEMATICA
Table[(n^3+n^2)4^n, {n, 20}] (* or *) LinearRecurrence[{16, -96, 256, -256}, {8, 192, 2304, 20480}, 20] (* Harvey P. Dale, May 12 2011 *)
PROG
(Magma) [(n^3+n^2)*4^n: n in [1..25]]; // Vincenzo Librandi, Feb 12 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, May 01 2007
STATUS
approved