You go to visit a freind of yours who lives in another city. when you arrive at the door of his house you find this message: "Welcome to my house. I had an emergency case and I couldn't wait for you.Enter the security code of the house and fell as at home. The code is "
He knows that you will find the code even if you don't have a calculator.
Enter the code.
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.
Using N = 1 , 0 1 9 , 0 9 0 , let's write n = 1 ∑ N n 1 = 1 1 + n = 2 ∑ N n 1 = 1 + n = 2 ∑ N n 1 .
Because the function f ( x ) = n 1 is decreasing, we have 1 + ∫ 2 N + 1 x 1 d x < 1 + n = 2 ∑ N n 1 < 1 + ∫ 1 N x 1 d x
∫ x 1 d x = ∫ x − 2 1 d x = 1 / 2 x 2 1 + c = 2 x + c .
We'll have to get the integer part of 2 N and 2 N + 1 , that is the square roots with a 0.5 precision.
Without any calculator, we can see that ( 1 , 0 0 0 + x ) 2 = 1 , 0 0 0 , 0 0 0 + 2 , 0 0 0 x + x 2 , so x must be around 2 , 0 0 0 1 9 , 0 9 0 ≃ 9 . 5 .
1 , 0 0 9 2 = 1 , 0 0 0 , 0 0 0 + 1 8 , 0 0 0 + 8 1 < 1 , 0 1 9 , 0 9 0 .
Let's see what gives 1 0 0 9 . 5 2 = ( 1 0 0 9 + 0 . 5 ) ⋅ ( 1 0 1 0 − 0 . 5 ) = 1 0 0 9 ⋅ 1 0 1 0 + 0 . 5 ⋅ ( 1 0 1 0 − 1 0 0 9 ) − 0 . 5 2 = 1 0 0 9 ⋅ ( 1 0 0 0 + 1 0 ) + 0 . 5 ⋅ 1 − 0 . 2 5 = 1 , 0 0 9 , 0 0 0 + 1 0 , 0 9 0 + 0 . 2 5 = 1 , 0 1 9 , 0 9 0 . 2 5 .
Therefore, N is just a bit short of 1 0 0 9 . 5 , that is N = 1 0 0 9 . 4 9 … ⟹ 2 N = 2 0 1 8 . 9 …
and N + 1 is just after 1 0 0 9 . 5 , that is N + 1 = 1 0 0 9 . 5 … ⟹ 2 N + 1 = 2 0 1 9 . 0 …
∫ 2 N + 1 x 1 d x = [ 2 x ] 2 N + 1 = 2 N + 1 − 2 2 = 2 0 1 9 . 0 … − 2 . 8 2 8 … > 2 0 1 6
∫ 1 N x 1 d x = [ 2 x ] 1 N = 2 N − 2 1 = 2 0 1 8 . 9 … − 2 < 2 0 1 7 .
Therefore, 2 0 1 7 1 + 2 0 1 6 < 1 + n = 2 ∑ N n 1 < 2 0 1 8 1 + 2 0 1 7 , which gives n = 1 ∑ N n 1 = 2 0 1 7 . … , that is, rounded down, answer = 2 0 1 7 .