login
A003136(n) mod 2.
1

%I #6 Jul 05 2017 15:11:27

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

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

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

%N A003136(n) mod 2.

%H Charles R Greathouse IV, <a href="/A181932/b181932.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) do(lim)=my(v=List(),y,t); for(x=0,sqrtint(lim\3), my(y=x,t); while((t=x^2+x*y+y^2)<=lim, listput(v,t); y++)); Set(v)%2 \\ _Charles R Greathouse IV_, Jul 05 2017

%K nonn

%O 1

%A _N. J. A. Sloane_, Apr 02 2012