OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = [x^n] Sum_{k>=1} k * x^k/(1 - x^k)^(n+1).
a(n) = [x^n] Sum_{k>=1} binomial(k+n-1,n) * x^k/(1 - x^k)^2.
From Seiichi Manyama, Jun 14 2023: (Start)
a(n) = Sum_{d|n} binomial(d+n-1,d).
a(n) = [x^n] Sum_{k>=1} (1/(1 - x^k)^n - 1). (End)
MATHEMATICA
a[n_] := n * DivisorSum[n, Binomial[# + n - 1, n]/# &]; Array[a, 30] (* Amiram Eldar, Apr 25 2021 *)
PROG
(PARI) a(n) = n*sumdiv(n, d, binomial(d+n-1, n)/d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 19 2021
STATUS
approved