OFFSET
1,2
COMMENTS
Original definition: "Row indices for nonzero elements in first column of A174888." Compare the first Mathematica program.
Numbers that either contain a repeated prime factor, or else are built from an even number of distinct primes (including 1). Compare A390278. - Peter Luschny, Nov 03 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
k is term <=> Moebius(k) >= 0. - Peter Luschny, Nov 03 2025
MAPLE
select(n -> NumberTheory:-mu(n) >= 0, [$1..100]); # Robert Israel, Mar 08 2026
MATHEMATICA
nn = 99; (* Implementation of the original definition. *)
T = Table[A174888[[n, 1]], {n, 1, nn}]
A174891 = Flatten[Position[T, 1]] (* Mats Granvik, Nov 03 2025 *)
Select[Range[99], MoebiusMu[#] >= 0 &] (* Peter Luschny, Nov 03 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Mats Granvik, Apr 01 2010
EXTENSIONS
New definition from Peter Luschny, Nov 03 2025
STATUS
approved
