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:, Problem #6).

Type your code here:

Lua reference

See your results here: