OFFSET
1,8
LINKS
FORMULA
Additive with a(p) = 0, a(p^e) = A007814(1+e) if e > 1.
a(1) = 0; and for n > 1, if A067029(n) = 1, a(n) = a(A028234(n)), otherwise A007814(1+A067029(n)) + a(A028234(n)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Sum_{p prime} f(1/p) = 0.22852676306472099280..., where f(x) = -1 + (1-x)*(-x + Sum_{k>=0} x^(2^k-1)/(1-x^(2^k))). - Amiram Eldar, Sep 28 2023
MATHEMATICA
Table[IntegerExponent[DivisorSigma[0, n], 2] - DivisorSum[n, 1 &, And[PrimeQ@ #, CoprimeQ[#, n/#]] &], {n, 105}] (* Michael De Vlieger, Nov 28 2017 *)
PROG
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Nov 28 2017
STATUS
approved