OFFSET
1,1
COMMENTS
Numbers that either contain a repeated prime factor, or else are built from an odd number of distinct primes. Compare A174891.
FORMULA
k is term <=> Moebius(k) <= 0.
EXAMPLE
Since 210 = 2*3*5*7 is the product of an even number of distinct primes it is not in this sequence but is a term of A246716.
MAPLE
select(n -> numtheory:-mobius(n) <= 0, [seq(1..100)]);
MATHEMATICA
Select[Range[100], MoebiusMu[#] <= 0 &] (* Amiram Eldar, Nov 03 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Nov 02 2025
STATUS
approved
