Coding challenge

Find the sum of the squares of the first 100 integers (1, 2, 3..100). Call the result A. Next, find the square of the sum of the same integers. Call the result B. Find A-B. You should get 25164150. (Source: Projecteuler.net, Problem #6).

Type your code here:


Lua reference

See your results here: