OFFSET
1,2
COMMENTS
If p is prime, a(p) = Sum_{d|p} d^omega(d) = 1^1 + p^1 = p + 1.
EXAMPLE
a(6) = Sum_{d|6} d^omega(d) = 1^0 + 2^1 + 3^1 + 6^2 = 42.
MATHEMATICA
Table[Sum[k^PrimeNu[k] (1 - Ceiling[n/k] + Floor[n/k]), {k, n}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 19 2021
STATUS
approved