OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..400
Index entries for linear recurrences with constant coefficients, signature (15,-77,203,-315,301,-175,57,-8).
FORMULA
G.f.: (7*x^7+462*x^6+2338*x^5+2149*x^4+119*x^3-28*x^2-8*x+1) / ((x-1)^7*(8*x-1)). - Colin Barker, Dec 04 2014
MATHEMATICA
Table[8^n-n^6, {n, 0, 30}] (* or *) LinearRecurrence[{15, -77, 203, -315, 301, -175, 57, -8}, {1, 7, 0, -217, 0, 17143, 215488, 1979503}, 30] (* Harvey P. Dale, Nov 02 2017 *)
PROG
(Magma) [8^n-n^6: n in [0..20]]; // Vincenzo Librandi, Jul 05 2011
(PARI) Vec((7*x^7+462*x^6+2338*x^5+2149*x^4+119*x^3-28*x^2-8*x+1)/((x-1)^7*(8*x-1)) + O(x^100)) \\ Colin Barker, Dec 04 2014
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved