login
A396549
The sum of the coreful divisors of n that are not exponential unitary divisors of n.
4
0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 9, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 0, 0, 18, 0, 28, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 60, 36, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 84, 0, 0, 0, 0
OFFSET
1,8
COMMENTS
All the exponential unitary divisors (A361255) of n are by definition coreful divisors (A284318) of n (see A396548).
The number of these divisors is A396548(n).
LINKS
FORMULA
a(n) = A057723(n) - A322857(n).
a(n) = 0 if and only if n is cubefree (A004709).
a(n) = A396544(n) if and only if n is an exponentially squarefree number (A209061).
MATHEMATICA
f1[p_, e_] = (p^(e+1)-1)/(p-1) - 1;
f2[p_, e_] = DivisorSum[e, p^# &, CoprimeQ[#, e/#] &];
a[n_] := Module[{fct = FactorInteger[n]}, Times @@ f1 @@@ fct - Times @@ f2 @@@ fct]; a[1] = 0; Array[a, 100]
PROG
(PARI) a(n) = {my(f = factor(n)); prod(i = 1, #f~, (f[i, 1]^(f[i, 2]+1) - 1)/(f[i, 1]-1) - 1) - prod(i = 1, #f~, sumdiv(f[i, 2], d, if(gcd(d, f[i, 2]/d) == 1, f[i, 1]^d))); }
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, May 29 2026
STATUS
approved