(PARI) {a(n)=local(X=x+x*O(x^n)); n!*polcoeff((cos(2*X)-sin(2*X))^(-1/2), n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) {a(n)=local(A=1+x+x*O(x^n)); for(i=0, n, A=exp(intformal(A^2/subst(A^2, x, -x)))); n!*polcoeff(A, n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) /* From A'(x) = A(x)^3 / A(-x)^2: */
{a(n)=local(A=1); for(i=0, n, A=1+intformal(A^3/subst(A, x, -x)^2 +x*O(x^n) )); n!*polcoeff(A, n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) /* 1/sqrt(1-2*Series_Reversion(Integral 1/sqrt(1+4*x-4*x^2) dx)): */
{a(n)=local(A=1); A=1/sqrt(1-2*serreverse(intformal(1/sqrt(1+4*x-4*x^2 +x*O(x^n))))); n!*polcoeff(A, n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) a136630(n, k) = 1/(2^k*k!)*sum(j=0, k, (-1)^(k-j)*(2*j-k)^n*binomial(k, j));
a007696(n) = prod(k=0, n-1, 4*k+1);
a(n) = sum(k=0, n, a007696(k)*(4*I)^(n-k)*a136630(n, k)); \\
Seiichi Manyama, Jun 24 2025