OFFSET
0,2
COMMENTS
More generally, the following sums are equal:
(1) Sum_{n>=0} (q^n + p)^n * r^n/n!,
(2) Sum_{n>=0} q^(n^2) * exp(p*q^n*r) * r^n/n!;
here, q = (1+x) and p = -1, r = 3.
In general, let F(x) be a formal power series in x such that F(0)=1, then
Sum_{n>=0} m^n * F(q^n*r)^p * log( F(q^n*r) )^n / n! =
Sum_{n>=0} r^n * [y^n] F(y)^(m*q^n + p);
here, F(x) = exp(x), q = 1+x, p = -1, r = 3, m = 1.
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..300
FORMULA
E.g.f. may be expressed by the following sums.
(1) Sum_{n>=0} ((1+x)^n - 1)^n * 3^n / n!.
(2) Sum_{n>=0} (1+x)^(n^2) * exp(-3*(1+x)^n) * 3^n / n!.
EXAMPLE
E.g.f: A(x) = 1 + 3*x + 36*x^2/2! + 837*x^3/3! + 29592*x^4/4! + 1439775*x^5/5! + 90723564*x^6/6! + 7109399241*x^7/7! + 672900166584*x^8/8! + 75245901590187*x^9/9! + 9770338275393240*x^10/10! +...
such that
A(x) = 1 + 3*((1+x) - 1) + 3^2*((1+x)^2 - 1)^2/2! + 3^3*((1+x)^3 - 1)^3/3! + 3^4*((1+x)^4 - 1)^4/4! + 3^5*((1+x)^5 - 1)^5/5! + 3^6*((1+x)^6 - 1)^6/6! + 3^7*((1+x)^7 - 1)^7/7! + ...
also
A(x) = 1 + 3*(1+x)*exp(-3*(1+x)) + 3^2*(1+x)^4*exp(-3*(1+x)^2)/2! + 3^3*(1+x)^9*exp(-3*(1+x)^3)/3! + 3^4*(1+x)^16*exp(-3*(1+x)^4)/4! + 3^5*(1+x)^25*exp(-3*(1+x)^5)/5! + 3^6*(1+x)^36*exp(-3*(1+x)^6)/6! + 3^7*(1+x)^49*exp(-3*(1+x)^7)/7! + ...
PROG
(PARI) {a(n)=n!*polcoeff(sum(m=0, n, 3^m*((1+x+x*O(x^n))^m-1)^m/m!), n)}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 22 2019
STATUS
approved