OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..630
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = -A123865(n) for n>0.
From G. C. Greubel, May 11 2017: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: (1 - 5*x - 5*x^2 - 15*x^3)/(1 - x)^5.
E.g.f.: (1 - x - 7*x^2 - 6*x^3 - x^4)*exp(x). (End)
Sum_{k>=2} -1/a(k) = A256919 = 7/8 - Pi*coth(Pi)/4. - Vaclav Kotesovec, Dec 08 2020
MATHEMATICA
Table[1 - n^4, {n, 0, 50}] (* Bruno Berselli, Jun 12 2015 *)
CoefficientList[Series[(1 - 5*x - 5*x^2 - 15*x^3)/(1 - x)^5, {x, 0, 50}], x] (* G. C. Greubel, May 11 2017 *)
PROG
(Magma) [1-n^4: n in [0..50]]; // Vincenzo Librandi, Apr 29 2011
(PARI) x='x+O('x^50); Vec((1 - 5*x - 5*x^2 - 15*x^3)/(1 - x)^5) \\ G. C. Greubel, May 11 2017
CROSSREFS
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Corrected by T. D. Noe, Nov 08 2006
STATUS
approved