OFFSET
0,1
COMMENTS
Apart from the signs, essentially the same as A007531. - Georg Fischer, Jan 18 2020
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-4,-6,-4,-1)
FORMULA
G.f.: 6/(1+x)^4. - Georg Fischer, Jan 18 2020
a(n) = 6*(-1)^n*A000292(n+1). - R. J. Mathar, Jan 21 2020
E.g.f.: (6 - 18*x + 9*x^2 - x^3)*exp(-x). - G. C. Greubel, Mar 22 2022
MATHEMATICA
CoefficientList[Series[6/(1+x)^4, {x, 0, 40}], x] (* Georg Fischer, Jan 18 2020 *)
PROG
(Magma) [6*(-1)^n*Binomial(n+3, 3): n in [0..50]]; // G. C. Greubel, Mar 22 2022
(Sage) [6*(-1)^n*binomial(n+3, 3) for n in (0..50)] # G. C. Greubel, Mar 22 2022
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Jan 17 2020
EXTENSIONS
a(4) changed to 210, and more terms from Georg Fischer, Jan 18 2020
STATUS
approved