OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..90
FORMULA
L.g.f.: L(x) = Sum_{n>=1} ( Sum_{k=0..n} binomial(n,k)^(n-k+1)*x^k ) * x^n/n.
Logarithmic derivative of A181080.
EXAMPLE
L.g.f.: L(x) = x + 3*x^2/2 + 7*x^3/3 + 39*x^4/4 + 336*x^5/5 + ...
which equals the series:
log(A(x)) = (1 + x)*x + (1 + 2^2*x + x^2)*x^2/2
+ (1+ 3^3*x + 3^2*x^2 + x^3)*x^3/3
+ (1+ 4^4*x + 6^3*x^2 + 4^2*x^3 + x^4)*x^4/4
+ (1+ 5^5*x + 10^4*x^2 + 10^3*x^3 + 5^2*x^4 + x^5)*x^5/5
+ (1+ 6^6*x + 15^5*x^2 + 20^4*x^3 + 15^3*x^4 + 6^2*x^5 + x^6)*x^6/6 + ...
Exponentiation yields the g.f. of A181080:
exp(L(x)) = 1 + x + 2*x^2 + 4*x^3 + 14*x^4 + 83*x^5 + 774*x^6 + 10641*x^7 + ...
MATHEMATICA
Table[Sum[Binomial[n-k, k]^(n-2*k+1)*(n/(n-k)), {k, 0, Floor[n/2]}], {n, 20}] (* G. C. Greubel, Apr 04 2021 *)
PROG
(PARI) a(n)=sum(k=0, n\2, binomial(n-k, k)^(n-2*k+1)*n/(n-k))
(PARI) {a(n)=n*polcoeff(sum(m=1, n, sum(k=0, m, binomial(m, k)^(m-k+1)*x^k)*x^m/m)+x*O(x^n), n)}
(Magma) [(&+[Binomial(n-j, j)^(n-2*j+1)*(n/(n-j)): j in [0..Floor(n/2)]]): n in [1..20]]; // G. C. Greubel, Apr 04 2021
(Sage) [sum( binomial(n-k, k)^(n-2*k+1)*(n/(n-k)) for k in (0..n//2)) for n in (1..20)] # G. C. Greubel, Apr 04 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 02 2010
STATUS
approved