[go: up one dir, main page]

login
A359796
a(n) = Sum_{d|n} (2*d)^(d-1).
2
1, 5, 37, 517, 10001, 248873, 7529537, 268435973, 11019960613, 512000010005, 26559922791425, 1521681143418409, 95428956661682177, 6502111422505477189, 478296900000000010037, 37778931862957430145541, 3189059870763703892770817
OFFSET
1,2
FORMULA
G.f.: Sum_{k>0} (2 * k)^(k-1) * x^k / (1 - x^k).
MATHEMATICA
a[n_] := DivisorSum[n, (2*#)^(# - 1) &]; Array[a, 20] (* Amiram Eldar, Aug 14 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (2*d)^(d-1));
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, (2*k)^(k-1)*x^k/(1-x^k)))
CROSSREFS
Sequence in context: A286928 A321042 A244820 * A360933 A246534 A095957
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jan 13 2023
STATUS
approved