OFFSET
1,2
FORMULA
G.f.: Sum_{k>=1} k^(k+1)*x^k/(1 + x^k).
a(n) = Sum_{d|n} (-1)^(n/d+1)*d^(d+1).
a(p) = p^(p+1) + 1 where p is an odd prime.
EXAMPLE
L.g.f.: L(x) = x + 7*x^2/2 + 82*x^3/3 + 1015*x^4/4 + 15626*x^5/5 + 279862*x^6/6 + 5764802*x^7/7 + 134216695*x^8/8 + 3486784483*x^9/9 + ...
exp(L(x)) = 1 + x + 4*x^2 + 31*x^3 + 289*x^4 + 3495*x^5 + 51268*x^6 + 891152*x^7 + 17926913*x^8 + 409907600*x^9 + ... + A261053(n)*x^n + ...
MATHEMATICA
nmax = 19; Rest[CoefficientList[Series[Log[Product[(1 + x^k)^k^k, {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax]]
nmax = 19; Rest[CoefficientList[Series[Sum[k^(k + 1) x^k/(1 + x^k), {k, 1, nmax}], {x, 0, nmax}], x]]
a[n_] := Sum[(-1)^(n/d + 1) d^(d + 1), {d, Divisors[n]}]; Table[a[n], {n, 1, 19}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 20 2018
STATUS
approved