Skip to main content.

Answer to puzzle 94: Square endings

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.)