Prirodni brojevi

i

završavaju jednakim slijedom od četiri znamenke

gdje je

. Odredi

.
The natural numbers

and

end with the same 4-digit sequence

, where

. What is the value of

?
[lang=hr]
Prirodni brojevi $n$ i $n^2$ završavaju jednakim slijedom od četiri znamenke $\overline{abcd}$ gdje je $a\neq0$. Odredi $\overline{abc}$.
[/lang]
[lang=en]
The natural numbers $n$ and $n^2$ end with the same 4-digit sequence $\overline{abcd}$, where $a\neq0$. What is the value of $\overline{abc}$?
[/lang]