OFFSET
1,6
FORMULA
a(n) = Sum_{d|n, d>1, gcd(n,d')=1} d'.
EXAMPLE
a(66) = 82. The nontrivial divisors of 66 are {2, 3, 6, 11, 22, 33, 66} with derivatives {1, 1, 5, 1, 13, 14, 61}, 6 of which are coprime to n. The sum of the coprime derivatives gives 1 + 1 + 5 + 1 + 13 + 61 = 82.
MATHEMATICA
ad[1] = 0; ad[n_] := ad[n] = n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := DivisorSum[n, ad[#] &, CoprimeQ[n, ad[#]] &]; Array[a, 100] (* Amiram Eldar, Nov 25 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Nov 24 2023
STATUS
approved