For some positive integer both and start with the same digit in base 10: What is the sum of all possible values of
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.
We start off by noticing that 4 x = ( 2 x ) 2 and 5 x = 2 x 1 0 x .
We now ask ourselves, "What digits could 2 x start with, so that 5 x starts with 1 ?".
It's easy to see that the first, say, 4 digits are guaranteed to be within [ 5 0 0 0 , 9 9 9 9 ] - if they're not, the first digit of the reciprocal will be at least 2 . Note that we're not looking for a strictly equivalent condition, just a bound large enough to hold all the possibilities, but small enough to remain useful. This will hopefully come completely clear in a bit.
Now that we have our bound for 2 x 's first digits due to 5 x starting with 1 , we find what 4 x gives us:
1 0 k < ( 2 x ) 2 < 2 ⋅ 1 0 k
If k is even: (with a = 2 k )
1 0 a < 2 x < 2 ⋅ 1 0 a , thus 2 x must start with some 4 digits between the first 4 digits of 1 and 2 , namely [ 1 0 0 0 , 1 4 1 5 ] .
If k is odd: (with a = 2 k − 1 )
1 0 ⋅ 1 0 a < 2 x < 2 0 ⋅ 1 0 a , resulting in 2 x starting between 1 0 and 2 0 's first digits, [ 3 1 6 2 , 4 4 7 3 ] .
It's now clear it's impossible for 4 x and 5 x to both start with 1, since 2 x 's first 4 digits would have to be within both [ 5 0 0 0 , 9 9 9 9 ] and ( [ 1 0 0 0 , 1 4 1 5 ] or [ 3 1 6 2 , 4 4 7 3 ] ) .
Doing the same procedure for the numbers 2 through 9 , only 2 and 4 have the two intervals join at any point - in the case of 2 it's sufficient for 2 x to start between [ 4 4 7 3 , 4 9 9 9 ] , and in the case of 4 , the interval is [ 2 0 0 0 , 2 2 3 6 ] .
Examples of such powers of 4 and 5 :
4 5 2 ≈ 2 . 0 2 8 2 4 1 ⋅ 1 0 3 1
5 5 2 ≈ 2 . 2 2 0 4 4 6 ⋅ 1 0 3 6
4 1 1 = 4 1 9 4 3 0 4
5 1 1 = 4 8 8 2 8 1 2 5
Thus the answer is 2 + 4 = 6 .