OFFSET
1
COMMENTS
a(n) = 1 if the odd part of n has no more than one distinct prime divisor, and 0 otherwise.
LINKS
FORMULA
MATHEMATICA
A340363[n_] := Boole[PrimeNu[n/2^IntegerExponent[n, 2]] < 2];
Array[A340363, 100] (* Paolo Xausa, Oct 31 2024 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Antti Karttunen, Jan 06 2021
STATUS
approved