OFFSET
1,2
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.: 96*x^2/(1-4*x)^4. - Vincenzo Librandi, Feb 09 2013
a(n) = 16*a(n-1) - 96*a(n-2) + 256*a(n-3) - 256*a(n-4). - Vincenzo Librandi, Feb 09 2013
a(n) = 96*A038846(n-2) for n>1. - Bruno Berselli, Feb 10 2013
From Amiram Eldar, Oct 02 2022: (Start)
Sum_{n>=2} 1/a(n) = (9/8)*log(4/3) - 5/16.
Sum_{n>=2} (-1)^n/a(n) = (25/8)*log(5/4) - 11/16. (End)
MATHEMATICA
CoefficientList[Series[96 x / (1-4 x)^4, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 09 2013 *)
Table[(n^3-n)4^n, {n, 20}] (* or *) LinearRecurrence[{16, -96, 256, -256}, {0, 96, 1536, 15360}, 20] (* Harvey P. Dale, Dec 31 2018 *)
PROG
(Magma) [(n^3-n)*4^n: n in [1..20]]; // Vincenzo Librandi, Feb 09 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 28 2007
EXTENSIONS
Offset corrected by Mohammad K. Azarian, Nov 20 2008
STATUS
approved