OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..171
MATHEMATICA
(* Load function f at A025487 *)
r = 0; s = Select[Union@ Flatten@ f[8][[3 ;; -1]], Not @* SquareFreeQ];
rad[x_] := Times @@ FactorInteger[x][[All, 1]]; nn = Length[s];
Reap[Do[k = s[[i]];
If[# > r, r = #; Sow[r] ] &@
Count[Transpose@ {#, k/#} &@ #[[2 ;; Ceiling[Length[#]/2]]] &@ Divisors[k],
_?(m = GCD @@ {##};
And[! MemberQ[{1, #1, #2}, m],
And[PrimeNu[#1] < PrimeNu[#2], Divisible[#2, rad[#1]]] & @@
SortBy[{##}, PrimeNu]]) & @@ # &)], {i, nn}] ][[-1, 1]] ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Jan 04 2025
STATUS
approved