X 2 = 2 0 1 8 . . .
Find the smallest positive integer X such that the first 4 digits of X 2 are 2018.
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.
Firstly, note that the two closest integers to 2 0 1 8 are 4 4 and 4 5 , and their squares are 1 9 3 6 and 2 0 2 5 .
Since there is no integer between these two that starts with 2 0 1 8 , then we can add an extra digit - testing out 4 4 1 , 4 4 2 , 4 4 3 and so on. Since 1 9 3 6 is 'behind' 2 0 1 8 , but 2 0 2 5 is past 2 0 1 8 , then if there is a number that starts with 2 0 1 8 , it must lie between 4 4 0 and 4 5 0 . However, 4 4 9 2 starts with 2 0 1 6 , and 4 5 0 2 starts with 2 0 2 5 . Since we haven't found an integer that satisfies this, we choose the closest of the two - 4 4 9 , and repeat the process again.
We now search the 4 -digit integers between 4 4 9 0 and 4 5 0 0 . The first integer that satisfies this is 4 4 9 3 , which when squared is 2 0 1 8 7 0 4 9 and clearly begins with 2 0 1 8 .
Problem Loading...
Note Loading...
Set Loading...
As the first four digits of X 2 is 2 0 1 8 , we can conclude that 2 0 1 9 × 1 0 n > X 2 ≥ 2 0 1 8 × 1 0 n 2 0 1 9 × 1 0 n > X ≥ 2 0 1 8 × 1 0 n
Case 1: n = 2 k ( n is even) 2 0 1 9 × 1 0 k > X ≥ 2 0 1 8 × 1 0 k 4 4 . 9 3 3 × 1 0 k > X ≥ 4 4 . 9 2 2 × 1 0 k 4 4 9 3 . 3 × 1 0 k − 2 > X ≥ 4 4 9 2 . 2 × 1 0 k − 2 For k = 0 , 1 , there doesn't exist an integer which satisfy X . So, the minimum value in Case 1 is when k − 2 = 0 , and X = 4 4 9 3 .
Case 2: n = 2 k + 1 ( n is odd) 2 0 1 9 0 × 1 0 k > X ≥ 2 0 1 8 0 × 1 0 k 1 4 2 . 0 9 × 1 0 k > X ≥ 1 4 2 . 0 5 6 × 1 0 k 1 4 2 0 9 × 1 0 k − 2 > X ≥ 1 4 2 0 5 . 6 × 1 0 k − 2 In Case 2, the minimum value of X is 1 4 2 0 6 .
Hence, the minimum value of X is 4 4 9 3 .