Find the general term of the numeric range 1,0,1,0,1…

Find the general term of the numeric range 1,0,1,0,1…

Find the general term of the numeric range 1,0,1,0,1…