OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
MAPLE
seq(coeff(series(3*x/((1-9*x^2) +(3*x-1)*(1-9*x^2)^(2/3)), x, n+2), x, n), n = 0..30); # G. C. Greubel, Sep 17 2019
MATHEMATICA
CoefficientList[Series[3*x/((1-9*x^2) +(3*x-1)*(1-9*x^2)^(2/3)), {x, 0, 30}], x] (* G. C. Greubel, Sep 17 2019 *)
PROG
(PARI) a(n)=polcoeff(3*x/((1-9*x^2)+(3*x-1)*(1-9*x^2+x^2*O(x^n))^(2/3)), n, x)
(Magma) R<x>:=PowerSeriesRing(Rationals(), 30); Coefficients(R!( 3*x/((1-9*x^2) + (3*x-1)*(1-9*x^2)^(2/3)) )); // G. C. Greubel, Sep 17 2019
(Sage)
def A097187_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P(3*x/((1-9*x^2) + (3*x-1)*(1-9*x^2)^(2/3))).list()
A097187_list(30) # G. C. Greubel, Sep 17 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Aug 03 2004
STATUS
approved