OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..119
MATHEMATICA
(* Load function f at A025487 *)
r = 0; s = Union@ Flatten@ f[10]; nn = Length[s];
rad[x_] := Times @@ FactorInteger[x][[All, 1]];
Transpose@ Reap[Monitor[
Do[k = s[[i]];
If[# > r, r = #; Sow[r]] &@
Count[Transpose@ {#, k/#} &@ #[[2 ;; Ceiling[Length[#]/2]]] &@ Divisors[k],
_?(And[rad[#1] == rad[#2],
Xor[Divisible[#2, #1],
Divisible[#1, #2]]] & @@ # &)], {i, nn}], {i, nn}] ][[-1, 1]]
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Michael De Vlieger, Dec 30 2024
STATUS
approved