Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #8 Dec 29 2022 15:11:46
%S 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,
%T 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,
%U 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
%N 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.
%H Antti Karttunen, <a href="/A359372/b359372.txt">Table of n, a(n) for n = 1..100000</a>
%F a(n) = A166486(n) - A359370(n).
%F a(n) = [A358839(n) < 0], where [ ] is the Iverson bracket.
%o (PARI) A359372(n) = ((n%4)&&(bigomega(n)%2));
%Y Characteristic function of A359373.
%Y Cf. A001222, A166486, A358839, A359372.
%K nonn
%O 1
%A _Antti Karttunen_, Dec 28 2022