OFFSET
0,2
LINKS
mpmath, Elliptic functions, 3.0 documentation.
FORMULA
a(n) = [x^n] 2*EllipticK((16*sqrt(x))^m)/Pi where m = 1 if the branch cuts follow the Maple conventions and m = 2 if they follow the Mathematica conventions.
a(n) ~ 2^(8*n) / (Pi*n). - Vaclav Kotesovec, Sep 05 2025
MAPLE
gf := hypergeom([1/2, 1/2], [1], 256*x): ser := series(gf, x, 20): seq(coeff(ser, x, n), n = 0..14);
# Or:
ge := 2*EllipticK(16*sqrt(x))/Pi: ser := series(ge, x, 20): seq(coeff(ser, x, n), n = 0..14);
MATHEMATICA
s[x_] := HypergeometricPFQ[{1/2, 1/2}, {1}, 256*x]; CoefficientList[Series[s[x], {x, 0, 14}], x]
(* Or: *)
gf[x_] := 2*EllipticK[256*x]/Pi; CoefficientList[Series[gf[x], {x, 0, 14}], x]
(* or *)
CoefficientList[Series[1/ArithmeticGeometricMean[1, Sqrt[1 - 256*x]], {x, 0, 14}], x] (* Vaclav Kotesovec, Sep 05 2025 *)
PROG
(PARI) N=20; x='x+O('x^N); Vec(1/agm(1, sqrt(1 - 256*x))) \\ Vaclav Kotesovec, Sep 05 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Sep 05 2025
STATUS
approved
