OFFSET
1,4
COMMENTS
a(n) is the sum of n-th powers of proper divisors of n.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..400
Eric Weisstein's World of Mathematics, Proper divisors
FORMULA
MATHEMATICA
Table[DivisorSigma[n, n] - n^n, {n, 25}]
nmax = 25; Rest[CoefficientList[Series[Sum[(k x)^(2 k)/(1 - (k x)^k), {k, 1, nmax}], {x, 0, nmax}], x]]
PROG
(Magma) [DivisorSigma(n, n) - n^n: n in [1..30]]; // Vincenzo Librandi, Nov 02 2018
(PARI) a(n) = sigma(n, n) - n^n; \\ Michel Marcus, Nov 02 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 01 2018
STATUS
approved