OFFSET
1,6
COMMENTS
Let omega(k) = A001221(k) be the number of distinct prime factors of k.
Scatterplot shows zones associated with the number of distinct prime factors of squarefree and nonsquarefree n; a(n) tends to be smaller for squarefree n compared to nonsquarefree m with omega(n) = omega(m). Likewise, a(n) tends to be smaller than a(k) for omega(n) < omega(k).
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Michael De Vlieger, Log log scatterplot of a(n), n = 1..65536 (ignoring zeros), with a color function indicating a(n) as follows: dark green = squarefree composite, light blue = neither squarefree nor powerful, and accentuating the following with larger points: red = prime, orange = perfect power of squarefree composite, purple = Achilles number.
Michael De Vlieger, Log log scatterplot of a(n), n = 1..262144 (ignoring zeros), with a color function indicating n as follows: dark green = squarefree, light blue = neither squarefree nor powerful, and accentuating the following with larger points: bright green = primorial, orange = perfect power, purple = Achilles number.
FORMULA
EXAMPLE
Table of n, a(n) for select n:
n a(n) Row n of A272618.
--------------------------------------------------------------------
6 4 {4}
10 12 {4, 8}
12 17 {8, 9}
14 12 {4, 8}
15 9 {9}
18 40 {4, 8, 12, 16}
24 43 {9, 16, 18}
30 163 {4, 8, 9, 12, 16, 18, 20, 24, 25, 27}
42 214 {4, 8, 9, 12, 16, 18, 24, 27, 28, 32, 36}
60 432 {8, 9, 16, 18, 24, 25, 27, 32, 36, 40, 45, 48, 50, 54}
78 476 {4, 8, 9, 12, 16, 18, 24, 27, 32, 36, 48, 52, 54, 64, 72}
MATHEMATICA
rad[x_] := Times @@ FactorInteger[x][[All, 1]]; Table[If[PrimePowerQ[n], 0, Total@ Select[Range[n], Divisible[n, rad[#]] &] - DivisorSigma[1, n] ], {n, 120}]
(* Alternative: first, load the regs program in Links at A369609, then: *)
Table[If[PrimePowerQ[n], 0, Total@ regs[n] - DivisorSigma[1, n]], {n, 120}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Apr 22 2026
STATUS
approved
