What is the sum of all two-digit whole numbers whose squares end with the digits 21?

2 Answers
Jul 19, 2016

200

Explanation:

A square number ending in a '1' can only be produced by squaring a number ending in a '1' or a '9'. Source. This helps a lot in the search. Quick bit of number crunching gives:

enter image source here

from our table we can see that

11^2 = 121112=121

39^2 = 1521392=1521

61^2 = 3721612=3721

89^2 = 7921892=7921

So 11+39+61+89 = 20011+39+61+89=200

Jul 19, 2016

200200

Explanation:

If the last digits of a square of a two digit number are 2121, unit's digit is either 11 or 99.

Now, if tens digit is aa and units digit is 11, it is of type 100a^2+20a+1100a2+20a+1 and we can have last two digits as 2121 if aa is 11 or 66 i.e. numbers are 10+1=1110+1=11 and 60+1=6160+1=61.

If ten's digit is bb and unit digit is 99, it is of type 100b^2-20b+1100b220b+1 and we can have last two digits as 2121 if bb is 44 or 99 i.e. numbers are 40-1=39401=39 and 90-1=89901=89.

Hence, sum of all such two digit numbers is

11+39+61+89=20011+39+61+89=200