OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (24,-192,512).
FORMULA
a(n) = 24*a(n-1) - 192*a(n-2) + 512*a(n-3); a(0)=0, a(1)=0, a(2)=128. - Harvey P. Dale, Nov 05 2011
G.f.: -128*x^2/(8*x-1)^3. - Harvey P. Dale, Nov 05 2011
a(n) = 128*A081138(n). - R. J. Mathar, Apr 26 2015
MATHEMATICA
Table[(n^2-n)8^n, {n, 0, 20}] (* or *) LinearRecurrence[{24, -192, 512}, {0, 0, 128}, 20] (* Harvey P. Dale, Nov 05 2011 *)
PROG
(Magma) [(n^2-n)*8^n: n in [0..20]]; // Vincenzo Librandi, Nov 16 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 07 2007
STATUS
approved