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+4*x+16*x^2)/(1-4*x)^4. [R. J. Mathar, Dec 19 2008]
MATHEMATICA
Table[(n^3 + n) 4^n, {n, 20}] (* Vincenzo Librandi Feb 22 2013 *)
LinearRecurrence[{16, -96, 256, -256}, {8, 160, 1920, 17408}, 20] (* Harvey P. Dale, Aug 14 2021 *)
PROG
(Magma) [(n^3 + n) * 4^n: n in [1..20]]; // Vincenzo Librandi, Feb 22 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, May 02 2007
STATUS
approved
