OFFSET
0,2
COMMENTS
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..1025
FORMULA
EXAMPLE
G.f.: A(x) = 1 + 2*x + 4*x^3 - 8*x^4 + 16*x^5 - 40*x^6 + 144*x^7 - 512*x^8 + 1696*x^9 - 5696*x^10 + 19840*x^11 - 70048*x^12 + ...
GENERATING METHOD.
We can illustrate the generating method for g.f. A(x) as follows.
Given F(n) = F(n-1)^2 + (2*x)^(2^n-1) for n >= 1 with F(0) = 1,
the first few polynomials generated by F(n) begin
F(0) = 1,
F(1) = F(0)^2 + (2*x)^(2^1-1) = 1 + 2*x,
F(2) = F(1)^2 + (2*x)^(2^2-1) = 1 + 4*x + 4*x^2 + 8*x^3,
F(3) = F(2)^2 + (2*x)^(2^3-1) = 1 + 8*x + 24*x^2 + 48*x^3 + 80*x^4 + 64*x^5 + 64*x^6 + 128*x^7,
F(4) = F(3)^2 + (2*x)^(2^4-1) = = 1 + 16*x + 112*x^2 + 480*x^3 + 1504*x^4 + 3712*x^5 + 7296*x^6 + 12032*x^7 + 17664*x^8 + 22528*x^9 + 26624*x^10 + 28672*x^11 + 20480*x^12 + 16384*x^13 + 16384*x^14 + 32768*x^15,
...
and the 2^(n-1)-th root of F(n) yields the series shown by
F(1)^(1/2^0) = 1 + 2*x,
F(2)^(1/2^1) = 1 + 2*x + 4*x^3 - 8*x^4 + 16*x^5 - 40*x^6 + 112*x^7 - 320*x^8 + 928*x^9 - 2752*x^10 + 8320*x^11 - 25504*x^12 + ...,
F(3)^(1/2^2) = 1 + 2*x + 4*x^3 - 8*x^4 + 16*x^5 - 40*x^6 + 144*x^7 - 512*x^8 + 1696*x^9 - 5696*x^10 + 19840*x^11 - 70048*x^12 + ...,
F(4)^(1/2^3) = 1 + 2*x + 4*x^3 - 8*x^4 + 16*x^5 - 40*x^6 + 144*x^7 - 512*x^8 + 1696*x^9 - 5696*x^10 + 19840*x^11 - 70048*x^12 + ...,
...
The limit of this process tends to the g.f. A(x).
PROG
(PARI) {a(n) = my(F=1, A, L); if(n==0, A=1, L = ceil(log(n+1)/log(2)); for(k=1, L, F = F^2 + (2*x)^(2^k-1) +x*O(x^n)); A = polcoeff(F^(1/(2^(L-1))), n)); A}
for(n=0, 32, print1(a(n), ", "))
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Dec 03 2004
EXTENSIONS
Entry revised by Paul D. Hanna, Mar 05 2024
STATUS
approved