OFFSET
0,3
COMMENTS
Compare to the identity:
Sum_{n>=0} n! * x^n * Product_{k=1..n} (1 + x) / (1 + k*x + k*x^2) = 1/(1-x-x^2).
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..208
FORMULA
O.g.f.: 1/(1-x*(1+x)/(1-1*2*x/(1-2*x*(2+x)/(1-2*3*x/(1-3*x*(3+x)/(1-3*4*x/(1-4*x*(4+x)/(1-4*5*x/(1-5*x*(5+x)/(1-5*6*x/(1+...))))))))))) (continued fraction).
a(n) ~ 2^(2*n+5) * n^(2*n+5/2) / (exp(2*n) * Pi^(2*n+3/2)). - Vaclav Kotesovec, Nov 02 2014
EXAMPLE
O.g.f.: A(x) = 1 + x + 4*x^2 + 21*x^3 + 183*x^4 + 2362*x^5 + 42449*x^6 + ...
where
A(x) = 1 + x*(1+x)/(1+x+x^2) + 2!*x^2*(1+x)*(2+x)/((1+x+x^2)*(1+4*x+2*x^2)) + 3!*x^3*(1+x)*(2+x)*(3+x)/((1+x+x^2)*(1+4*x+2*x^2)*(1+9*x+3*x^2)) + 4!*x^4*(1+x)*(2+x)*(3+x)*(4+x)/((1+x+x^2)*(1+4*x+2*x^2)*(1+9*x+3*x^2)*(1+16*x+4*x^2)) + ...
MATHEMATICA
a[n_] := Coefficient[Sum[m!*x^m*Product[(k + x)/(1 + k^2*x + k*x^2), {k, 1, m}], {m, 0, n}] + O[x]^(n + 1), x, n]; Table[a[n], {n, 0, 18}] (* Robert P. P. McKone, Sep 15 2023 *)
PROG
(PARI) {a(n)=polcoeff( sum(m=0, n, m!*x^m*prod(k=1, m, (k+x)/(1+k^2*x+k*x^2 +x*O(x^n))) ), n)}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jan 13 2013
STATUS
approved