OFFSET
0,2
FORMULA
G.f.: Sum_{n>=0} (2^n - 1)^n * x^n / (1-x)^(n+1).
G.f.: Sum_{n>=0} 2^(n^2) * x^n / (1-x + 2^n*x)^(n+1).
a(n) ~ 2^(n^2). - Vaclav Kotesovec, Jan 25 2015
EXAMPLE
G.f.: A(x) = 1 + 2*x + 12*x^2 + 374*x^3 + 52056*x^4 + 28885802*x^5 +...
where we have the identity:
(1) A(x) = 1/(1-x) + (2-1)*x/(1-x)^2 + (2^2-1)^2*x^2/(1-x)^3 + (2^3-1)^3*x^3/(1-x)^4 + (2^4-1)^4*x^4/(1-x)^5 + (2^5-1)^5*x^5/(1-x)^6 +...
(2) A(x) = 1 + 2*x/(1-x + 2*x)^2 + 2^4*x^2/(1-x + 2^2*x)^3 + 2^9*x^3/(1-x + 2^3*x)^4 + 2^16*x^4/(1-x + 2^4*x)^5 + 2^25*x^5/(1-x + 2^5*x)^6 + 2^36*x^6/(1-x + 2^6*x)^7 +...
Illustration of initial terms:
a(0) = 1;
a(1) = 1 + (2-1) = 2;
a(2) = 1 + 2*(2-1) + (2^2-1)^2 = 12;
a(3) = 1 + 3*(2-1) + 3*(2^2-1)^2 + (2^3-1)^3 = 374;
a(4) = 1 + 4*(2-1) + 6*(2^2-1)^2 + 4*(2^3-1)^3 + (2^4-1)^4 = 52056;
a(5) = 1 + 5*(2-1) + 10*(2^2-1)^2 + 10*(2^3-1)^3 + 5*(2^4-1)^4 + (2^5-1)^5 = 28885802; ...
MATHEMATICA
Table[1 + Sum[Binomial[n, k] * (2^k-1)^k, {k, 1, n}], {n, 0, 15}] (* Vaclav Kotesovec, Jan 25 2015 *)
PROG
(PARI) {a(n)=sum(k=0, n, binomial(n, k) * (2^k - 1)^k )}
for(n=0, 15, print1(a(n), ", "))
(PARI) {a(n)=local(A=1); A=sum(m=0, n, (2^m - 1)^m * x^m / (1-x +x*O(x^n) )^(m+1) ); polcoeff(A, n)}
for(n=0, 15, print1(a(n), ", "))
(PARI) {a(n)=local(A=1); A=sum(m=0, n, 2^(m^2) * x^m / (1-x + x*2^m +x*O(x^n))^(m+1) ); polcoeff(A, n)}
for(n=0, 15, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jan 19 2015
STATUS
approved