OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000 (terms 1..999 from Harvey P. Dale)
FORMULA
If p is prime then a(p)=p+1.
a(n) = Sum_{d|n} binomial(d-1+n/d,d). - R. J. Mathar, Feb 21 2009
MATHEMATICA
With[{nn=50}, CoefficientList[Series[Sum[x^k/(1-x^k)^(k+1), {k, nn}], {x, 0, nn}], x]] (* Harvey P. Dale, May 28 2017 *)
PROG
(PARI) a(n)=if(n<1, 0, polcoeff(sum(k=1, n, 1/(1-x^k)^k, x*O(x^(n^2))), n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 21 2003
EXTENSIONS
Description corrected by Vladeta Jovovic, Aug 22 2003
Corrected offset R. J. Mathar, Feb 21 2009
STATUS
approved