OFFSET
0,2
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..2500
FORMULA
EXAMPLE
G.f.: A(x) = 1 + 2*x + 5*x^2 + 14*x^3 + 34*x^4 + 96*x^5 + 261*x^6 + 692*x^7 + 1680*x^8 + 4540*x^9 + 12540*x^10 + 34552*x^11 + 92728*x^12 +...
where
sqrt(A(x)) = 1 + x + 2*x^2 + 5*x^3 + 10*x^4 + 28*x^5 + 70*x^6 + 170*x^7 + 340*x^8 + 960*x^9 + 2688*x^10 + 7308*x^11 + 18270*x^12 +...+ A257889(n)*x^n +...
Illustration of initial terms:
PROG
(PARI) {a(n) = my(A=1+x); for(k=2, n, A = A + a(k\2) * polcoeff(A^2, (k+1)\2) * x^k +x*O(x^n) ); polcoeff(A^2, n)}
for(n=0, 40, print1(a(n), ", "))
(PARI) {a(n) = my(A=[1, 1]); for(k=2, n, A = concat(A, A[k\2+1]*Vec(Ser(A)^2)[(k+1)\2+1]) ); Vec(Ser(A)^2)[n+1]}
for(n=0, 40, print1(a(n), ", "))
(PARI) /* Generates N terms rather quickly: */
N=300; A=[1, 1]; for(k=2, N, A = concat(A, A[k\2+1]*Vec(Ser(A)^2)[(k+1)\2+1]) ); Vec(Ser(A)^2)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 15 2015
STATUS
approved