login
A024094
8^n-n^6.
2
1, 7, 0, -217, 0, 17143, 215488, 1979503, 16515072, 133686287, 1072741824, 8588163031, 68716490752, 549750987079, 4398038981568, 35184360698207, 281474959933440, 2251799789547679, 18014398475469760, 144115188028809991
OFFSET
0,2
LINKS
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
Sequence in context: A266436 A240822 A240810 * A157307 A036949 A059515
KEYWORD
sign,easy
AUTHOR
STATUS
approved