%I #8 Feb 18 2023 22:48:38
%S 0,0,1,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,
%T 0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,0,0,0,0,1,0,
%U 0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1
%N a(n) = 1 if A355690(n) is negative (-1), otherwise 0.
%H Antti Karttunen, <a href="/A359606/b359606.txt">Table of n, a(n) for n = 1..65537</a>
%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%F a(n) = A359605(n) - A355690(n).
%F a(n) = A359590(n) - A359605(n).
%o (PARI)
%o A010892(n) = ([1, 1, 0, -1, -1, 0][n%6 + 1]);
%o A355690(n) = { my(f = factor(n)); prod(k=1, #f~, if(2==f[k,1], A010892(1+f[k, 2]), -(1==f[k, 2]))); };
%o A359606(n) = (A355690(n)<0);
%Y Cf. A355690, A359590, A359605.
%K nonn,easy
%O 1
%A _Antti Karttunen_, Jan 12 2023