A Copy-and-Paste Square

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 4723 4723 twice would be 47234723 47234723 . Which, incidentally, is not a perfect square.)


The answer is 496.

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.

1 solution

Matt Enlow
Mar 7, 2014

Suppose that n is the number sought, and that it has k digits. This means that 1 0 k 1 n < 1 0 k 10^{k-1}\le n < 10^k . According to our assumption, 1 0 k n + n = ( 1 0 k + 1 ) n 10^kn+n=(10^k+1)n is a perfect square.

I claim that 1 0 k + 1 10^k+1 must have a perfect square factor (other than 1). If this were not the case, then 1 0 k + 1 10^k+1 would be a product of distinct primes p 1 p 2 p m p_1p_2\cdots p_m . Since ( 1 0 k + 1 ) n (10^k+1)n is a perfect square, all of these p i p_i 's must also divide n . This would mean that n 1 0 k + 1 n \ge 10^k+1 , which is impossible.

So we need to find a number of the form 1 0 k + 1 10^k+1 that has a perfect square factor. The smallest such number is 1 0 11 + 1 10^{11}+1 , which is divisible by 1 1 2 = 121 11^2=121 .

In order for ( 1 0 11 + 1 ) n = 1 1 2 ( 1 0 11 + 1 121 ) n (10^{11}+1)n=11^2\left(\frac{10^{11}+1}{121}\right)n to be a perfect square, ( 1 0 11 + 1 121 ) n \left(\frac{10^{11}+1}{121}\right)n must be a perfect square. So n must be equal to 1 0 11 + 1 121 a 2 \frac{10^{11}+1}{121}\cdot a^2 for some natural number a . But we can't simply let a = 1 a=1 , the smallest natural number, because n needs to have k = 11 k=11 digits, and 1 0 11 + 1 121 = 826446281 \frac{10^{11}+1}{121}=826446281 has nine digits. The smallest natural number a for which 1 0 11 + 1 121 a 2 \frac{10^{11}+1}{121}\cdot a^2 has eleven digits is 4. So n = 1 0 11 + 1 121 4 2 = 13223140496 n=\frac{10^{11}+1}{121}\cdot 4^2=13223140496 , and our answer is 496 \boxed{496} .

(For the record, I adapted both this problem and this solution from Mathematical Olympiad Challenges by Andreescu & Gelca.)

I got to the part where you have to figure out that 10^n+1 has to be a square.But how do we move ahead?after all,we cant remember that n=11 is the smallest integer satisfying this. It was a nice problem but I think it is too dependent on learning the number which will satisfy the condition.That makes people use the internet,which isn't bad, but somehow loses the thrill of doing an question.

A Former Brilliant Member - 7 years, 3 months ago

But finding the divisors of 10000000001 is a tedious job and also finding its square divisor..is there any shortcut to it?

Eddie The Head - 7 years, 3 months ago

Log in to reply

I've found 121 thank's to this site (it's in french sorry) http://fr.numberempire.com/100000000001

Matthias Trannoy - 7 years, 3 months ago

Well, there is a pattern to which numbers of the form 1 0 k + 1 10^k+1 divide which other numbers of that same form...

Matt Enlow - 7 years, 3 months ago

Nice problem....I went upto theperfect square divisor part but stiill failed to solve it fully....

Eddie The Head - 7 years, 3 months ago

My answer is 281 as 826446281 is smallest natural number. I am not getting 11 digit funda.

Manish Rane - 7 years, 3 months ago

Log in to reply

But 826446281826446281 is not a perfect square.

Matt Enlow - 7 years, 3 months ago

Log in to reply

EXCUSE !! UNDERSTOOD !

Manish Rane - 7 years, 3 months ago

So close.... I put 82644628100 :(

Wooil Jung - 7 years, 2 months ago

this is awesome...

Vamshi Krishna Kandula - 7 years, 2 months ago

Hey there, I wrote a program to get the smallest natural number when written twice becomes a perfect square which happens to be n=82 when written twice 8282 is a perfect square. So the last three digits becomes 282 .............................(well after few hours of checking) I Get it 8282 is not a perfect square (91.00549)

Faisal Basha - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...