|
|
A008816
|
|
Expansion of (1+x^9)/((1-x)^2*(1-x^9)).
|
|
10
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 88, 95, 102, 109, 116, 123, 130, 137, 144, 153, 162, 171, 180, 189, 198, 207, 216, 225, 236, 247, 258, 269, 280, 291, 302, 313, 324, 337, 350, 363, 376, 389, 402
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
Index entries for linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,0,0,1,-2,1).
|
|
FORMULA
|
|
|
MAPLE
|
seq(coeff(series((1+x^9)/((1-x)^2*(1-x^9)), x, n+1), x, n), n = 0..50); # G. C. Greubel, Sep 12 2019
|
|
MATHEMATICA
|
LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 15}, 70] (* or *) CoefficientList[Series[(1+x^9)/((1-x)^2*(1-x^9)), {x, 0, 70}], x] (* G. C. Greubel, Sep 12 2019 *)
|
|
PROG
|
(PARI) my(x='x+O('x^70)); Vec((1+x^9)/((1-x)^2*(1-x^9))) \\ G. C. Greubel, Sep 12 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 70); Coefficients(R!( (1+x^9)/((1-x)^2*(1-x^9)) )); // G. C. Greubel, Sep 12 2019
(Sage)
P.<x> = PowerSeriesRing(ZZ, prec)
return P((1+x^8)/((1-x)^2*(1-x^8))).list()
(GAP) a:=[1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 15];; for n in [12..70] do a[n]:=2*a[n-1] -a[n-2]+a[n-9]-2*a[n-10]+a[n-11]; od; a; # G. C. Greubel, Sep 12 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|