login
A359372
a(n) = 1 if n is not a multiple of 4 and has an odd number of prime factors (with multiplicity), otherwise a(n) = 0.
6
0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1
LINKS
FORMULA
a(n) = A166486(n) - A359370(n).
a(n) = [A358839(n) < 0], where [ ] is the Iverson bracket.
PROG
(PARI) A359372(n) = ((n%4)&&(bigomega(n)%2));
CROSSREFS
Characteristic function of A359373.
Sequence in context: A374466 A283991 A353499 * A327861 A131929 A100821
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2022
STATUS
approved