OFFSET
1
COMMENTS
a(n) = 1 if there is exactly one exponent in the prime factorization of n that is larger than 1, and that exponent is 2, otherwise 0.
LINKS
FORMULA
MATHEMATICA
a[n_] := If[PrimeOmega[n] - PrimeNu[n] == 1, 1, 0]; Array[a, 100] (* Amiram Eldar, Jan 05 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 04 2023
STATUS
approved