login
A359370
a(n) = 1 if n is not a multiple of 4 and has an even number of prime factors (with multiplicity), otherwise a(n) = 0.
6
1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1
OFFSET
1
FORMULA
a(n) = A166486(n) - A359372(n).
a(n) = [A358839(n) > 0], where [ ] is the Iverson bracket.
PROG
(PARI) A359370(n) = ((n%4)&&!(bigomega(n)%2));
CROSSREFS
Characteristic function of A359371.
Cf. also A359170.
Sequence in context: A027356 A361114 A181663 * A359768 A359787 A374119
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2022
STATUS
approved