OFFSET
0,2
COMMENTS
Differs for n >= 7 (1717 vs. 1716) from A000579(n+6) = binomial(n+6,6); see also row 6 of A027555, A059481 and A213808. - M. F. Hasler, Mar 05 2017
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,2).
FORMULA
G.f.: 1/((1-x)^7 - x^7) = 1/((1-2*x)*(1-5*x+11*x^2-13*x^3+9*x^4-3*x^5+x^6)).
MATHEMATICA
CoefficientList[Series[1/((1-x)^7-x^7), {x, 0, 30}], x] (* Harvey P. Dale, Feb 18 2011 *)
PROG
(PARI) Vec(1/((1-x)^7-x^7)+O(x^99)) \\ M. F. Hasler, Mar 05 2017
(Magma) R<x>:=PowerSeriesRing(Integers(), 40); Coefficients(R!( 1/((1-x)^7 - x^7) )); // G. C. Greubel, Apr 11 2023
(SageMath)
def A049017_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 1/((1-x)^7 - x^7) ).list()
A049017_list(40) # G. C. Greubel, Apr 11 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved