OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
MATHEMATICA
CoefficientList[Series[8*(1+x)/( ((1+x^2) + Sqrt[(1+x^2)^2 -4*x*(1+x)])^2*(1 + 4*x +x^2 +Sqrt[(1+4*x+x^2)^2 -4*x*(1+x)*(3+2*x)])), {x, 0, 30}], x] (* G. C. Greubel, Mar 16 2021 *)
PROG
(PARI) {a(n)=polcoeff(8*(1+x)/((1+x^2)+sqrt((1+x^2)^2-4*x*(1+x)+x*O(x^n)))^2 /(1+4*x+x^2 + sqrt((1+4*x+x^2)^2 - 4*x*(1+x)*(3+2*x)+x*O(x^n))), n)}
(Sage)
def A119373_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P( 8*(1+x)/( ((1+x^2) +sqrt((1+x^2)^2 -4*x*(1+x)))^2*(1+4*x+x^2 +sqrt((1+4*x+x^2)^2 -4*x*(1+x)*(3+2*x))) ) ).list()
A119373_list(30) # G. C. Greubel, Mar 16 2021
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 30);
Coefficients(R!( 8*(1+x)/( ((1+x^2) +Sqrt((1+x^2)^2 -4*x*(1+x)))^2*(1+4*x+x^2 +Sqrt((1+4*x+x^2)^2 -4*x*(1+x)*(3+2*x))) ) )); // G. C. Greubel, Mar 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, May 17 2006
STATUS
approved