OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..122
FORMULA
Logarithmic derivative of A181070.
EXAMPLE
L.g.f.: L(x) = x + 3*x^2/2 + 7*x^3/3 + 15*x^4/4 + 66*x^5/5 + ...
which equals the series:
L(x) = (1 + x)*x + (1 + 2^2*x + x^2)*x^2/2
+ (1+ 3^2*x + 3^3*x^2 + x^3)*x^3/3
+ (1+ 4^2*x + 6^3*x^2 + 4^4*x^3 + x^5)*x^4/4
+ (1+ 5^2*x + 10^3*x^2 + 10^4*x^3 + 5^5*x^4 + x^5)*x^5/5
+ (1+ 6^2*x + 15^3*x^2 + 20^4*x^3 + 15^5*x^4 + 6^6*x^5 + x^6)*x^6/6 + ...
Exponentiation yields the g.f. of A181070:
exp(L(x)) = 1 + x + 2*x^2 + 4*x^3 + 8*x^4 + 23*x^5 + 88*x^6 + 379*x^7 + 3044*x^8 + ...
MATHEMATICA
Table[Sum[Binomial[n-k, k]^(k+1) n/(n-k), {k, 0, Floor[n/2]}], {n, 20}] (* Harvey P. Dale, Sep 25 2020 *)
PROG
(PARI) a(n)=sum(k=0, n\2, binomial(n-k, k)^(k+1)*n/(n-k))
(PARI) {a(n)=n*polcoeff(sum(m=1, n, sum(k=0, m, binomial(m, k)^(k+1)*x^k)*x^m/m)+x*O(x^n), n)}
(Magma) [(&+[Binomial(n-j, j)^(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)^(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