1949^2-1950^2+1951^2+...+1997^2-1998^2+1999^2
=1949^2+(1950+1951)*(1951-1950)+...+(1999+1998)*(1999-1998)
=1949^2+1950+1951+...+1998+1999
=1949^2+(1950+1999)50/2
=3798601+98725
=3897326
1949^2-1950^2+1951^2+...+1997^2-1998^2+1999^2
=1949^2+(1950+1951)*(1951-1950)+...+(1999+1998)*(1999-1998)
=1949^2+1950+1951+...+1998+1999
=1949^2+(1950+1999)50/2
=3798601+98725
=3897326