OFFSET
1,30
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.
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}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Aug 06 2024
STATUS
approved