Give the last three digits of the smallest natural number n such that the number obtained by writing out n twice is a perfect square.
(For example, the number obtained by writing out twice would be . Which, incidentally, is not a perfect square.)
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.
Suppose that n is the number sought, and that it has k digits. This means that 1 0 k − 1 ≤ n < 1 0 k . According to our assumption, 1 0 k n + n = ( 1 0 k + 1 ) n is a perfect square.
I claim that 1 0 k + 1 must have a perfect square factor (other than 1). If this were not the case, then 1 0 k + 1 would be a product of distinct primes p 1 p 2 ⋯ p m . Since ( 1 0 k + 1 ) n is a perfect square, all of these p i 's must also divide n . This would mean that n ≥ 1 0 k + 1 , which is impossible.
So we need to find a number of the form 1 0 k + 1 that has a perfect square factor. The smallest such number is 1 0 1 1 + 1 , which is divisible by 1 1 2 = 1 2 1 .
In order for ( 1 0 1 1 + 1 ) n = 1 1 2 ( 1 2 1 1 0 1 1 + 1 ) n to be a perfect square, ( 1 2 1 1 0 1 1 + 1 ) n must be a perfect square. So n must be equal to 1 2 1 1 0 1 1 + 1 ⋅ a 2 for some natural number a . But we can't simply let a = 1 , the smallest natural number, because n needs to have k = 1 1 digits, and 1 2 1 1 0 1 1 + 1 = 8 2 6 4 4 6 2 8 1 has nine digits. The smallest natural number a for which 1 2 1 1 0 1 1 + 1 ⋅ a 2 has eleven digits is 4. So n = 1 2 1 1 0 1 1 + 1 ⋅ 4 2 = 1 3 2 2 3 1 4 0 4 9 6 , and our answer is 4 9 6 .
(For the record, I adapted both this problem and this solution from Mathematical Olympiad Challenges by Andreescu & Gelca.)