login
A261032
a(n) = (-1)^n*(n^8 + 4*n^7 - 14*n^5 + 28*n^3 - 17*n)/2.
1
0, -1, 255, -6306, 59230, -331395, 1348221, -4416580, 12360636, -30686085, 69313915, -145044966, 284936730, -530793991, 944995065, -1617895560, 2677071736, -4298685705, 6721274871, -10262288170, 15337711830, -22485147531, 32390726005, -45920259276, 64155054900, -88432835725
OFFSET
0,3
COMMENTS
Alternating sum of eighth powers (A001016).
For n>0, a(n) is divisible by A000217(n).
LINKS
Index entries for linear recurrences with constant coefficients, signature (-9,-36,-84,-126,-126,-84,-36,-9,-1 ).
FORMULA
G.f.: -x*(1 - 246*x + 4047*x^2 - 11572*x^3 + 4047*x^4 - 246*x^5 + x^6)/(1 + x)^9.
a(n) = Sum_{k = 0..n} (-1)^k*k^8.
a(n) = (-1)^n*n*(n + 1)*(n^6 + 3*n^5 - 3*n^4 - 11*n^3 + 11*n^2 + 17*n - 17)/2.
Sum_{n>0} 1/a(n) = -0.9962225712723456482...
Sum_{j=0..9} binomial(9,j)*a(n-j) = 0. - Robert Israel, Nov 18 2015
E.g.f.: (x/2)*(-2 +253*x -1848*x^2 +2961*x^3 -1596*x^4 +350*x^5 -32*x^6 +x^7)*exp(-x). - G. C. Greubel, Apr 02 2021
EXAMPLE
a(0) = 0^8 = 0,
a(1) = 0^8 -1^8 = -1,
a(2) = 0^8 -1^8 + 2^8 = 255,
a(3) = 0^8 -1^8 + 2^8 - 3^8 = -6306,
a(4) = 0^8 -1^8 + 2^8 - 3^8 + 4^8 = 59230,
a(5) = 0^8 -1^8 + 2^8 - 3^8 + 4^8 - 5^8 = -331395, etc.
MAPLE
seq((-1)^n*(n^8 + 4*n^7 - 14*n^5 + 28*n^3 - 17*n)/2, n = 0 .. 100); # Robert Israel, Nov 18 2015
MATHEMATICA
Table[(1/2) (-1)^n n (n + 1) (n^6 + 3 n^5 - 3 n^4 - 11 n^3 + 11 n^2 + 17 n - 17), {n, 0, 25}]
PROG
(PARI) vector(100, n, n--; (-1)^n*(n^8+4*n^7-14*n^5+28*n^3-17*n)/2) \\ Altug Alkan, Nov 18 2015
(Magma) [(-1)^n*(n^8+4*n^7-14*n^5+28*n^3-17*n)/2: n in [0..30]]; // Vincenzo Librandi, Nov 20 2015
(Sage) [(-1)^n*(n^8 +4*n^7 -14*n^5 +28*n^3 -17*n)/2 for n in (0..40)] # G. C. Greubel, Apr 02 2021
KEYWORD
sign,easy
AUTHOR
Ilya Gutkovskiy, Nov 18 2015
STATUS
approved