OFFSET
0,2
FORMULA
G.f.: (1+4x)/AGM(1+4x, 1-4x) where AGM(x, y) is the arithmetic-geometric mean of Gauss and Legendre.
a(n) = A063886(n)^2.
a(2n) = A002894(n); a(2n+1) = 4*a(2n).
a(n) ~ 2^(2*n + 1) / (Pi*n). - Vaclav Kotesovec, Sep 27 2019
MATHEMATICA
CoefficientList[Series[2*(1 + 4*x)*EllipticK[1 - (1 + 4*x)^2/(1 - 4*x)^2] / (Pi*(1 - 4*x)), {x, 0, 30}], x] (* Vaclav Kotesovec, Sep 27 2019 *)
PROG
(PARI) a(n)=((n==0)+2*binomial(n-1, (n-1)\2))^2;
(PARI) Vec( 1/agm(1, (1-4*x)/(1+4*x)+O(x^66)) ) \\ Joerg Arndt, Aug 14 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Feb 16 2004
STATUS
approved