my method is: (x+y)^2 = x^2 + y^2 + 2*x*y

so (1 + (2+ ... + 100)) ^2