OFFSET
1,2
FORMULA
a(p) = Sum_{d|p} p^rad(d) = p^1 + p^p = p^p + p, for p prime.
EXAMPLE
a(8) = Sum_{d|8} 8^rad(d) = 8^1 + 8^2 + 8^2 + 8^2 = 200.
MATHEMATICA
Table[Sum[(1 - Ceiling[n/i] + Floor[n/i]) n^Product[k^((PrimePi[k] - PrimePi[k - 1]) (1 - Ceiling[i/k] + Floor[i/k])), {k, i}], {i, n}], {n, 30}]
PROG
(PARI) rad(n) = factorback(factorint(n)[, 1]);
a(n) = sumdiv(n, d, n^rad(d)); \\ Michel Marcus, Jun 12 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 12 2021
STATUS
approved