OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (12, -51, 110, -135, 96, -37, 6).
FORMULA
a(0)=1, a(1)=5, a(2)=4, a(3)=-27, a(4)=272, a(5)=4651, a(6)=38880, a(n)=12*a(n-1)-51*a(n-2)+110*a(n-3)-135*a(n-4)+96*a(n-5)- 37*a(n-6)+ 6*a(n-7). - Harvey P. Dale, Apr 08 2015
MATHEMATICA
Table[6^n-n^5, {n, 0, 20}] (* or *) LinearRecurrence[{12, -51, 110, -135, 96, -37, 6}, {1, 5, 4, -27, 272, 4651, 38880}, 20] (* Harvey P. Dale, Apr 08 2015 *)
PROG
(Magma) [6^n-n^5: n in [0..25]]; // Vincenzo Librandi, Jul 03 2011
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved