OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,0,0,0,0,1,-1,-1,1).
FORMULA
G.f.: (1+x^9)/((1-x^2)^2*(1-x^8)).
G.f.: (1-x+x^2)*(1-x^3+x^6)/( (1+x^2)*(1+x^4)*(1+x)^2*(1-x)^3 ). - R. J. Mathar, Dec 18 2014
MAPLE
seq(coeff(series((1+x^9)/((1-x^2)^2*(1-x^8)), x, n+1), x, n), n = 0..80);
MATHEMATICA
CoefficientList[Series[(1+x^9)/((1-x^2)^2*(1-x^8)), {x, 0, 80}], x] (* G. C. Greubel, Sep 12 2019 *)
PROG
(PARI) my(x='x+O('x^80)); Vec((1+x^9)/((1-x^2)^2*(1-x^8))) \\ G. C. Greubel, Sep 12 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 80); Coefficients(R!( (1+x^9)/((1-x^2)^2*(1-x^8)) )); // G. C. Greubel, Sep 12 2019
(Sage)
def A008801_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P((1+x^9)/((1-x^2)^2*(1-x^8))).list()
A008801_list(80) # G. C. Greubel, Sep 12 2019
(GAP) a:=[1, 0, 2, 0, 3, 0, 4, 0, 6, 1, 8];; for n in [12..80] do a[n]:=a[n-1] +a[n-2]-a[n-3]+a[n-8]-a[n-9]-a[n-10]+a[n-11]; od; a; # G. C. Greubel, Sep 12 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms added by G. C. Greubel, Sep 12 2019
STATUS
approved