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”).

A359731
a(n) = (1/2) * Sum_{d|n} (2*d)^d.
3
1, 9, 109, 2057, 50001, 1493109, 52706753, 2147485705, 99179645293, 5120000050009, 292159150705665, 18260173719523445, 1240576436601868289, 91029559915023973833, 7174453500000000050109, 604462909807316734838793, 54214017802982966177103873
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>0} 2^(k-1) * (k * x)^k / (1 - x^k).
MATHEMATICA
a[n_] := DivisorSum[n, (2*#)^# &] / 2; Array[a, 20] (* Amiram Eldar, Aug 14 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (2*d)^d)/2;
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, 2^(k-1)*(k*x)^k/(1-x^k)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jan 12 2023
STATUS
approved