OFFSET
1,2
COMMENTS
Also, the sum of the exponential unitary divisors of the cubefree numbers.
The number of these divisors is A382419(n).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[p_, e_] := If[e < 3, Sum[p^k, {k, 1, e}], 0]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Array[s, 100] , # > 0 &]
PROG
(PARI) s(n) = {my(f = factor(n)); prod(i = 1, #f~, if(f[i, 2] < 3, sum(k = 1, f[i, 2], f[i, 1]^k), 0)); }
list(lim) = select(x -> x > 0, vector(lim, i, s(i)));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Dec 27 2025
STATUS
approved
