OFFSET
1,4
MATHEMATICA
nmax = 30; A[_] = 0; Do[A[x_] = x + x^2 Exp[Sum[A[x^k]^2/(k x^k), {k, 1, nmax}]] + O[x]^(nmax + 1)//Normal, nmax + 1]; CoefficientList[A[x], x] // Rest
a[1] = a[2] = 1; g[n_] := g[n] = Sum[a[k] a[n - k], {k, 1, n - 1}]; a[n_] := a[n] = (1/(n - 2)) Sum[Sum[d g[d + 1], {d, Divisors[k]}] a[n - k], {k, 1, n - 2}]; Table[a[n], {n, 1, 30}]
PROG
(PARI) seq(n)=my(p=x+x^2+O(x^3)); for(n=1, n\2, my(m=serprec(p, x)-1); p = x + x^2*exp(sum(k=1, m, subst(p + O(x^(m\k+1)), x, x^k)^2/(x^k*k)))); Vec(p + O(x*x^n)) \\ Andrew Howroyd, May 30 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 30 2023
STATUS
approved