OFFSET
1,1
COMMENTS
First differs from A162645 at n = 239: A162645(239) = 900 = 2^2 * 3^2 * 5^2 is not a term of this sequence.
Each term can be represented in a unique way as m * p^(2*k), k >= 1, where m is an exponentially odd number (A268335) and p is a prime that does not divide m.
The asymptotic density of this sequence is Product_{p prime} (1 - 1/(p*(p+1))) * Sum_{p prime} 1/(p^2+p-1) = 0.26256423811374124133... .
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[250], Count[FactorInteger[#][[;; , 2]], _?EvenQ] == 1 &]
PROG
(PARI) is(k) = if(k == 1, 0, my(e = factor(k)[, 2]); #select(x -> !(x%2), e) == 1);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 09 2024
STATUS
approved