MathDB
2013 Fall Team #4

Source:

March 26, 2022
number theory

Problem Statement

The numbers 2525 and 7676 have the property that when squared in base 10, their squares also end in the same two digits. A positive integer that has at most 33 digits when expressed in base 21 and also has the property that its base 2121 square ends in the same 33 digits is called amazing. Find the sum of all amazing numbers. Express your answer in base 2121.