Numbers Squared

Ayala took all the numbers divisible by 3 from 1 to 99, inclusive, squared each of them, summed the results, and multiplied the resulting number by 2.
The duck took all the numbers not divisible by 3 from 1 to 100, inclusive, squared each of them, and summed the results.
What is the difference between the number the duck obtained and the number Ayala obtained?

Difficulty level (1 very easy - 10 very hard): 3

Topics:
Arithmetic Algebra -> Algebraic Techniques -> Short Multiplication Formulas / Algebraic Identities Algebra -> Sequences
Sources:
There are no comments yet.
Authentication required

You must log in to post a comment.

Log in