On your calculator you have the number 4 + 2 − 7 + 5 3 ≈ 4 . 1 4 0 0 5 4 9 4 4 6 4 and by mistake you hit the key that squares the number giving you 1 7 + 2 − 7 + 5 3 ≈ 1 7 . 1 4 0 0 5 4 9 4 4 6 4 .
You notice that the whole number part of the number and the whole number part of the square of the number has changed (4 to 17) but that the decimal parts of both are still the same.
How many numbers strictly between 4 and 5 have that property? (That is, when you square the number, the whole number part changes but the decimal part remains the same.)
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.
Please Elaborate..
Log in to reply
"The decimal part stays the same" means that we want f ( x ) = x 2 − x to be an integer. (In the example given in the problem, that integer is 1 7 . 1 4 0 0 5 − 4 . 1 4 0 0 5 = 1 3 . ) Since f ( x ) = x 2 − x on [ 4 , 5 ] is an increasing, continuous function, with range [ f ( 4 ) , f ( 5 ) ] = [ 1 2 , 2 0 ] , the 7 integers 13, 14,...19 are in the range.
Log in to reply
That's nice. Thanks.
Is this an application of the Intermediate Value Theorem?
Log in to reply
@Andrew Ellinor – Yes, we certainly use the intermediate value theorem, and also the fact that f ( x ) is increasing.
Excellent solution !! Mine was a little bigger (instead of finding the count of such numbers I tried to find there form and then counted all of them.). Try generalizing the problem for finding the general form of such numbers lying between any two integer n and n + 1 .
If I may ask. Why isn't the equation f ( x ) = x 2 − x + 1
Log in to reply
It is given that the numbers and their square have the same fractional part i.e.
{ x } = { x 2 }
(Here { x } = fractional part of x )
Now x = ⌊ x ⌋ + { x }
x 2 = ⌊ x 2 ⌋ + { x 2 } = ⌊ x 2 ⌋ + { x }
Therefore x 2 − x = ⌊ x 2 ⌋ + { x } − ⌊ x ⌋ + { x } = ⌊ x 2 ⌋ − ⌊ x ⌋ = i n t e g e r
Therefore for obtaining the no. of such integers between 4 and 5 we need to count the no. of integer solutions between f ( 4 ) and f ( 5 ) where f ( x ) = x 2 − x which is 7.
Also the numbers are of the form
4 + 2 − 7 + 4 9 + 4 n where n ∈ [ 1 , 7 ]
and can be obtained by solving the quadratics
a 2 + a = a + 1
a 2 + a = a + 2
a 2 + a = a + 3
a 2 + a = a + 4
a 2 + a = a + 5
a 2 + a = a + 6
a 2 + a = a + 7
Here a represents the fractional part of x .
You could use either function: x 2 − x is an integer iff x 2 − x + 1 is ;)
Problem Loading...
Note Loading...
Set Loading...
Interesting problem!
We want f ( x ) = x 2 − x to be an integer. Since f ( 4 ) = 1 2 and f ( 5 ) = 2 0 , there are 7 such numbers x , with f ( x ) = 1 3 , . . , 1 9 .