OFFSET
1,2
COMMENTS
LINKS
FORMULA
EXAMPLE
For n = 12, the set of such divisors is {2, 3, 6, 12}; a(12) = 2+3+6+12 = 23.
MATHEMATICA
f1[p_, e_] := (p^(e+1)-1)/(p-1); f2[p_, e_] := f1[p, e] - p; a[1] = 0; a[n_] := Times @@ f1 @@@ (f = FactorInteger[n]) - Times @@ f2 @@@ f; Array[a, 100] (* Amiram Eldar, Aug 29 2023 *)
PROG
(PARI) A183098(n) = sumdiv(n, d, d*(!ispowerful(d))); \\ Antti Karttunen, Oct 07 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jaroslav Krizek, Dec 25 2010
EXTENSIONS
Name corrected by Jon E. Schoenfield, Aug 29 2023
STATUS
approved