If the number is of the form where represents the preceding digits, its square is where and represents digits before 25.
If the number ends in 5, its square will end in 5; similarly for ending in 25, 625, 0625, 90625, .. 8212890625, etc.