%I #14 Apr 26 2022 16:09:27
%S 0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,
%T 1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,
%U 1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0
%N If A276086(n) is of the form 4k+3, then a(n) = 1, otherwise a(n) = 0.
%H Antti Karttunen, <a href="/A353489/b353489.txt">Table of n, a(n) for n = 0..65537</a>
%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%H <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%F a(n) = 1 iff A353486(n) = 3, and 0 otherwise.
%F a(n) = A059841(n) - A353488(n).
%F For all n >= 2, a(n) = a(n-2) XOR A353529(n), where XOR is bitwise-XOR, A003987.
%o (PARI)
%o A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
%o A353489(n) = (3==(A276086(n)%4));
%Y Characteristic function of A353466.
%Y Cf. A003987, A059841, A276086, A353486, A353487, A353488, A353529.
%K nonn,base
%O 0
%A _Antti Karttunen_, Apr 24 2022
|