Well there is another to do it like take the partial sum

like first add 1st term then take average then add 1st and 2nd term then take average and so on then you will notice that your will be 1/2 , 0 , 1/2 , 0 , 1/2 .......

This question is for testing whether you are a human visitor and to prevent automated spam submissions.