The only 8-digit natural numbers n such that n2 ends in the same 8 digits as n are 12890625 and 87109376.
(128906252 = 166168212890625,871093762 = 7588043387109376.)