OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 14 since rad(b(1)) = rad(36) = 6, and in the sequence R(6) = A003586 = {1, 2, 3, 4, 6, 8, 9, ..., 36, ...}, 36 is the 14th term.
a(2) = 18 since rad(b(2)) = rad(72) = 6, and 72 is the 18th term in R(6).
a(3) = 15 since rad(b(3)) = rad(100) = 10, and in the sequence R(10) = A003592 = {1, 2, 4, 5, 8, 10, ..., 100, ...}, 100 is the 15th term, etc.
MATHEMATICA
nn = 3300; f[x_] := f[x] = Times @@ FactorInteger[x][[All, 1]];
t = Select[
Select[Range[nn], Nor[PrimePowerQ[#], SquareFreeQ[#]] &],
AllTrue[FactorInteger[#][[All, -1]], # > 1 &] &];
s = Map[f, t];
Map[Function[k, Set[r[k], Select[Range[nn], Divisible[k, f[#]] &]]], Union@ s];
Array[FirstPosition[r[s[[#]]], t[[#]]][[1]] &, Length[t]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Sep 22 2023
STATUS
approved