OFFSET
1,4
COMMENTS
This sequence contains nonzero values in A355432.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Michael De Vlieger, Scatterplot of a(n), n = 1..2^16, highlighting records (A360768(n) in A360589) in red.
EXAMPLE
MATHEMATICA
rad[x_] := rad[x] = Times @@ FactorInteger[x][[All, 1]];
s = Select[Range[671], Nor[SquareFreeQ[#], PrimePowerQ[#]] &];
t = Select[s, #1/#2 >= #3 & @@ {#1, Times @@ #2, #2[[2]]} & @@
{#, FactorInteger[#][[All, 1]]} &];
Map[Function[{n, k},
Count[TakeWhile[s, # < n &],
_?(And[rad[#] == k, ! Divisible[n, #]] &)]] @@ {#, rad[#]} &, t]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Mar 29 2023
STATUS
approved