What is the sum of all of the perfect squares between 1515 and 2525, inclusive, minus the sum of all of the other numbers between 1515 and 25,25, inclusive?

Question from AoPS
Information
Subject: Pre-Algebra
Focus: Squares

1 Answer
Jun 14, 2018

-138138

Explanation:

The only perfect squares between 15 and 25 inclusive are 16 and 2516and25

:. Sum of perfect squares =16+25 = 41

The sum of the natural numbers between 17 and 24 is given by:

S_8 = 8/2(17+24) = 4xx41 =164

:. Sum of the other numbers =15+164 = 179

We are asked for the sum of perfect squares minus the sum of the other numbers:

Sum = 41-179= -138