login
a(n) = A102563(n) - A102564(n).
0

%I #5 May 02 2021 20:58:15

%S 0,0,1,-2,1,-2,-1,0,1,-2,-1,0,-1,0,1,-2,1,-2,-1,0,-1,0,1,-2,-1,0,1,-2,

%T 1,-2,-1,0,1,-2,-1,0,-1,0,1,-2,-1,0,1,-2,1,-2,-1,0,-1,0,1,-2,1,-2,-1,

%U 0,1,-2,-1,0,-1,0,1,-2,1,-2,-1,0,-1,0,1,-2,-1,0,1,-2,1,-2,-1,0,-1,0,1,-2,1,-2,-1,0,1,-2,-1,0,-1,0,1,-2,-1,0,1,-2,1

%N a(n) = A102563(n) - A102564(n).

%C It would appear that a(2n+1) = (-2)*A010060(n); a(4n+1) = (-2)*A010060(n); a(8n+1) = (-2)*A010060(n); a(2^n) = 0^n-1; a(2^n+1) = 3*0^n-2; a(2^(n+1)-1) = -(1-(-1)^n).

%Y Cf. A010060, A076826, A102563, A102564.

%K easy,sign

%O 0,4

%A _Paul Barry_, Jan 14 2005