Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #7 Dec 24 2022 11:16:59
%S 1,2,6,20,78,364,1758,9144,48508,264014,1457624,8158260,46134878,
%T 263312552,1514534512,8771202984,51101608190,299306977508,
%U 1761377916048,10409550718692,61755225688926,367639850029404,2195551697108888,13149811270786752,78967249613057836,475373797733460598
%N a(n) = coefficient of x^n in the power series A(x) such that: 1 = Sum_{n=-oo..+oo} x^(n+1) * (2 - x^(n+1))^n * A(x)^n.
%C Related identity: 0 = Sum_{n=-oo..+oo} x^n * (y - x^n)^n, which holds formally for all y.
%H Paul D. Hanna, <a href="/A357798/b357798.txt">Table of n, a(n) for n = 0..300</a>
%F G.f. A(x) = Sum_{n>=0} a(n)*x^n satisfies the following.
%F (1) 1 = Sum_{n=-oo..+oo} x^(n+1) * (2 - x^(n+1))^n * A(x)^n.
%F (2) 1 = Sum_{n=-oo..+oo} (-1)^(n+1) * x^(n^2) / ((1 - 2*x^n)^(n+1) * A(x)^(n+1)).
%e G.f.: A(x) = 1 + 2*x + 6*x^2 + 20*x^3 + 78*x^4 + 364*x^5 + 1758*x^6 + 9144*x^7 + 48508*x^8 + 264014*x^9 + 1457624*x^10 + 8158260*x^11 + 46134878*x^12 + ...
%o (PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);
%o A[#A] = polcoeff( sum(n=-#A, #A, x^(n+1) * (2 - x^(n+1) +x*O(x^#A) )^n * Ser(A)^n ), #A-1) ); A[n+1]}
%o for(n=0, 30, print1(a(n), ", "))
%o (PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);
%o A[#A] = polcoeff( sum(n=-#A, #A, (-1)^(n+1) * x^(n^2) / ((1 - 2*x^n +x*O(x^#A) )^(n+1) * Ser(A)^(n+1)) ), #A-1) ); A[n+1]}
%o for(n=0, 30, print1(a(n), ", "))
%Y Cf. A357797.
%K nonn
%O 0,2
%A _Paul D. Hanna_, Dec 22 2022