New year beginning

X 2 = 2018... \large X^2 = 2018...

Find the smallest positive integer X X such that the first 4 digits of X 2 X^2 are 2018.


The answer is 4493.

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.

2 solutions

Chan Tin Ping
Dec 28, 2017

As the first four digits of X 2 X^2 is 2018 2018 , we can conclude that 2019 × 1 0 n > X 2 2018 × 1 0 n 2019 × 1 0 n > X 2018 × 1 0 n 2019×10^n>X^2 \geq 2018×10^n \\ \sqrt{2019×10^n}>X \geq \sqrt{2018×10^n}

Case 1: n = 2 k n=2k ( n n is even) 2019 × 1 0 k > X 2018 × 1 0 k 44.933 × 1 0 k > X 44.922 × 1 0 k 4493.3 × 1 0 k 2 > X 4492.2 × 1 0 k 2 \sqrt{2019}×10^k>X \geq \sqrt{2018}×10^k \\ 44.933×10^k> X \geq 44.922×10^k \\ 4493.3×10^{k-2}> X \geq 4492.2×10^{k-2} For k = 0 , 1 k=0,1 , there doesn't exist an integer which satisfy X X . So, the minimum value in Case 1 is when k 2 = 0 k-2=0 , and X = 4493 X=4493 .

Case 2: n = 2 k + 1 n=2k+1 ( n n is odd) 20190 × 1 0 k > X 20180 × 1 0 k 142.09 × 1 0 k > X 142.056 × 1 0 k 14209 × 1 0 k 2 > X 14205.6 × 1 0 k 2 \sqrt{20190}×10^k>X \geq \sqrt{20180}×10^k \\ 142.09×10^k>X \geq 142.056×10^k \\ 14209×10^{k-2}> X \geq 14205.6×10^{k-2} In Case 2, the minimum value of X X is 14206 14206 .

Hence, the minimum value of X X is 4493 \large 4493 .

Toby M
Dec 30, 2017

Firstly, note that the two closest integers to 2018 \sqrt{2018} are 44 44 and 45 45 , and their squares are 1936 1936 and 2025 2025 .

Since there is no integer between these two that starts with 2018 2018 , then we can add an extra digit - testing out 441 , 442 , 443 441, 442, 443 and so on. Since 1936 1936 is 'behind' 2018 2018 , but 2025 2025 is past 2018 2018 , then if there is a number that starts with 2018 2018 , it must lie between 440 440 and 450 450 . However, 44 9 2 449^2 starts with 2016 2016 , and 45 0 2 450^2 starts with 2025 2025 . Since we haven't found an integer that satisfies this, we choose the closest of the two - 449 449 , and repeat the process again.

We now search the 4 4 -digit integers between 4490 4490 and 4500 4500 . The first integer that satisfies this is 4493 4493 , which when squared is 20187049 20187049 and clearly begins with 2018 2018 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...