login
a(n) = 1 if A328572(2*n) is of the form 4m+3, and 0 otherwise.
2

%I #9 May 05 2022 11:06:00

%S 0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,0,1,

%T 1,0,1,1,0,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,0,1,1,0,1,1,

%U 0,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0

%N a(n) = 1 if A328572(2*n) is of the form 4m+3, and 0 otherwise.

%C Even bisection of A353513. Also the odd bisection. That both bisections are equal follows from the identity A276086(2n+1) = 2 * A276086(2n) which further implies that A328572(2n+1) = A328572(2n).

%H Antti Karttunen, <a href="/A353514/b353514.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) = A353513(2*n) = A353513(2*n + 1).

%o (PARI)

%o A328572(n) = { my(m=1, p=2); while(n, if(n%p, m *= p^((n%p)-1)); n = n\p; p = nextprime(1+p)); (m); };

%o A353514(n) = (3==(A328572(n+n)%4));

%Y Cf. A276086, A328572, A353513.

%K nonn,base

%O 0

%A _Antti Karttunen_, May 01 2022