OFFSET
1,2
COMMENTS
Contains all prime powers (A000961).
The numbers of terms not exceeding 10^k, for k = 1, 2, ..., are 3, 26, 254, 2557, 25663, 256765, 2567839, 25679023, 256791104, 2567912451, ... . Apparently, the asymptotic density of this sequence exists and equals 0.256791... . - Amiram Eldar, May 20 2023
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[100], Sum[If[GCD@@FactorInteger[d][[All, 2]]===1, MoebiusMu[#/d], 0], {d, Divisors[#]}]=!=0&]
PROG
(PARI) ok(n)={sumdiv(n, d, if(ispower(d), 0, moebius(n/d))) <> 0} \\ Andrew Howroyd, Aug 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 11 2018
STATUS
approved