OFFSET
1,2
FORMULA
a(n) = Sum_{d|n, tau(d)|d, gcd(d,n/d)=1} 1.
MATHEMATICA
a[n_] := DivisorSum[n, 1 &, CoprimeQ[#, n/#] && Divisible[#, DivisorSigma[0, #]] &]; Array[a, 100] (* Amiram Eldar, May 26 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, May 26 2023
STATUS
approved