OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..400
Index entries for linear recurrences with constant coefficients, signature (12, -38, 52, -33, 8).
FORMULA
a(n) = 12*a(n-1) - 38*a(n-2) + 52*a(n-3) - 33*a(n-4) + 8*a(n-5); a(0)=1, a(1)=7, a(2)=56, a(3)=485, a(4)=4032. - Harvey P. Dale, Aug 22 2012
MATHEMATICA
Table[8^n-n^3, {n, 0, 20}] (* or *) LinearRecurrence[{12, -38, 52, -33, 8}, {1, 7, 56, 485, 4032}, 20] (* Harvey P. Dale, Aug 22 2012 *)
PROG
(Magma) [8^n-n^3: n in [0..20]]; // Vincenzo Librandi, Jul 05 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved