OFFSET
1,2
COMMENTS
LINKS
FORMULA
MATHEMATICA
With[{max = 1200}, Select[Union@ Flatten@Table[i^2 * j^3, {j, 1, max^(1/3)}, {i, 1, Sqrt[max/j^3]}], # == 1 || Count[FactorInteger[#][[;; , 2]], _?OddQ] <= 1 &]]
PROG
(PARI) is(k) = if(k == 1, 1, my(e = factor(k)[, 2]); vecmin(e) > 1 && #select(x -> (x%2), e) <= 1);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 09 2024
STATUS
approved