A183099 a(n) = sum of powerful divisors d (excluding 1) of n.
0, 0, 0, 4, 0, 0, 0, 12, 9, 0, 0, 4, 0, 0, 0, 28, 0, 9, 0, 4, 0, 0, 0, 12, 25, 0, 36, 4, 0, 0, 0, 60, 0, 0, 0, 49, 0, 0, 0, 12, 0, 0, 0, 4, 9, 0, 0, 28, 49, 25, 0, 4, 0, 36, 0, 12, 0, 0, 0, 4, 0, 0, 9, 124, 0, 0, 0, 4, 0, 0, 0, 129, 0, 0, 25, 4, 0, 0, 0, 28, 117, 0, 0, 4, 0, 0, 0, 12, 0, 9, 0, 4, 0, 0, 0, 60, 0, 49, 9, 129
Offset: 1
Examples
For n = 12, set of such divisors is {4}; a(12) = 4.
Links
Programs
-
Mathematica
f[p_, e_] := (p^(e+1)-1)/(p-1) - p; a[1] = 0; a[n_] := Times @@ f @@@ FactorInteger[n] - 1; Array[a, 100] (* Amiram Eldar, Aug 29 2023 *)
-
PARI
A183099(n) = (sumdiv(n, d, ispowerful(d)*d) - 1); \\ Antti Karttunen, Oct 07 2017
Comments