For some positive integer , the numbers and have the same starting digit (digit on the extreme left) in base 10 format. What is that starting digit?
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.
Relevant wiki: General Diophantine Equations - Problem Solving
Let the common starting digit be 'm'
Then we can write, for some arbitrary integers x and y:
m . 1 0 x < 2 n < ( m + 1 ) . 1 0 x
m . 1 0 y < 5 n < ( m + 1 ) . 1 0 y
Strict inequality must hold because a power of 2 or 5 cannot be a multiple of 10.
Multiplying the two inequalities yields: m 2 . 1 0 x + y < 1 0 n < ( m + 1 ) 2 . 1 0 x + y
Or, m 2 < 1 0 n − x − y < ( m + 1 ) 2
Now as m is a single digit number (something between 1 and 9) so m 2 and ( m + 1 ) 2 are both definitely something between 1 and 100. We have already seen that 1 0 n − x − y lies between (and not inclusive of) m 2 and ( m + 1 ) 2 . But there is only one power of 10 lying between 1 and 100 non-inclusive.
This means that 1 0 n − x − y = 10
So, m 2 < 10 < ( m + 1 ) 2
So 10 lies between two consecutive squares. So these squares must be 9 and 16. Thus giving m = 3.
So the answer is 3.