OFFSET
1,2
FORMULA
a(n) = Sum_{d|n, d'|n, d>1} d, where d' is the arithmetic derivative of d.
EXAMPLE
The sum of the nontrivial divisors of 6 whose arithmetic derivative divides 6 is 2 + 3 = 5.
MATHEMATICA
d[1] = 0; d[n_] := n*Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := DivisorSum[n, # &, # > 1 && Divisible[n, d[#]] &]; Array[a, 100] (* Amiram Eldar, May 13 2022 *)
PROG
(PARI) ad(n) = vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]); \\ A003415
a(n) = sumdiv(n, d, if ((d>1) && !(n % ad(d)), d)); \\ Michel Marcus, May 13 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 12 2022
STATUS
approved