A024094 8^n-n^6.
1, 7, 0, -217, 0, 17143, 215488, 1979503, 16515072, 133686287, 1072741824, 8588163031, 68716490752, 549750987079, 4398038981568, 35184360698207, 281474959933440, 2251799789547679, 18014398475469760, 144115188028809991
Offset: 0
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).
Programs
-
Magma
[8^n-n^6: n in [0..20]]; // Vincenzo Librandi, Jul 05 2011
-
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 *)
-
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
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