There is a four-digit whole number n, such that the last four digits of n^2 are in fact the original number n. Find n .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If 1 0 4 divides n ( n − 1 ) , the fact that n and n − 1 are relatively prime implies that one of them is divisible by 2 4 and the other is divisible by 5 4 . This leads to two possibilities for n mod 1 0 0 0 0 : n ≡ 6 2 5 and n ≡ 9 3 7 6 . The only four-digit number that satisfies one of these congruence conditions is 9 3 7 6 .