t=1:1000;
s1=sum(t);
s2=sum(t(2:2:end));
