A372192 a(n) = A010846(n) - A373738(n).
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 6, 0, 0, 1, 2, 1, 1, 0, 2, 1, 1, 0, 6, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 7, 0, 1, 1, 0, 1, 7, 0, 2, 1, 7, 0, 1, 0, 2, 0, 2, 1, 7, 0, 1, 0, 1, 0, 8, 1, 1, 2
Offset: 1
Keywords
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
- Michael De Vlieger, Log log scatterplot of a(n), n = 6..2^20, ignoring a(n) = 0, with a color code where red indicates omega(n) = 2, gold omega(n) = 3, lime green = omega(n) = 4, spring green = omega(n) = 5, and blue = omega(n) = 6, where omega = A001221.
Programs
-
Mathematica
{0}~Join~Table[Count[Range[n], _?(Divisible[n, Times @@ FactorInteger[#][[All, 1]]] &)] - Floor[(1/PrimeNu[n]!)*Times @@ Map[Log[#, n] + 1 &, FactorInteger[n][[All, 1]]]], {n, 2, 120}]