login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A348349
a(n) = Sum_{d|n} d^(tau(d) - 1).
1
1, 3, 4, 19, 6, 222, 8, 531, 85, 1008, 12, 249070, 14, 2754, 3384, 66067, 18, 1889871, 20, 3201024, 9272, 10662, 24, 4586721006, 631, 17592, 19768, 17213138, 30, 21870004602, 32, 33620499, 35952, 39324, 42888, 2821112046175, 38, 54894, 59336, 163843201536
OFFSET
1,2
FORMULA
G.f.: Sum_{k>=1} k^(tau(k) - 1) * x^k/(1 - x^k).
If p is prime, a(p) = 1 + p.
MATHEMATICA
a[n_] := DivisorSum[n, #^(DivisorSigma[0, #] - 1) &]; Array[a, 40] (* Amiram Eldar, Oct 14 2021 *)
PROG
(PARI) a(n) = sumdiv(n, d, d^(numdiv(d)-1));
(PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, k^(numdiv(k)-1)*x^k/(1-x^k)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Oct 14 2021
STATUS
approved