Consider all pairs ( a , b ) of natural numbers such that the product a a b b , written in base 10, ends in exactly 98 zeroes. If there is only one pair ( a , b ) for which the product a b is smallest, then find a + b .
Note : ( 4 , 5 ) and ( 5 , 4 ) are considered as one pair. Order does not matter.
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.
Thanks a lot for the solution. I wanted that.
Ok I will post my solution also.
@Andrew Ellinor I have typed the solution, but it is showing "maths processing error".
Please correct it.
Let a 2 be the maximum integer such that 2 a 2 ∣ a . Define a 5 , b 2 , b 5 . Our task translates into the following :
Find a , b such that min { a 5 a + b 5 b , a 2 a + b 2 b } = 9 8 and a b is minimal. Since 5 ∣ a 5 a + b 5 b , we have a 5 a + b 5 b > 9 8 and min { a 5 a + b 5 b , a 2 a + b 2 b } = a 2 a + b 2 b = 9 8 . Note that if 5 ∣ g c d ( a , b ) , then a 2 a + b 2 b = 9 8 , contradiction.
Without loss of generality , suppose that a 5 ≥ 1 and b 5 = 0 . Let a = 2 a 2 5 a 5 x and 2 a 2 y , g c d ( 2 , x ) = g c d ( 5 , x ) = g c d ( 2 , y ) = 1 . Then a 5 a = a 5 ( 2 a 2 5 a 5 x ) > 9 8 and a 2 a = a 2 ( 2 a 2 5 a 5 x ) ≤ 9 8 . So a 5 > a 2 . We consider the following cases:
( a ) a 2 = 0 . Then b 2 ( 2 b 2 y ) = 9 8 ...
I will write rest of the solution later.
Problem Loading...
Note Loading...
Set Loading...
Whew, hard problem. But, finally, I solved it (I think...)
Anyways, this problem sorta requires more common sense than it does mathematics skills...
First, obviously, either a or b or both are multiples of 2 and 5, as a number can only have a trailing zero in base 10 if and only if the number is a multiple of 2 and 5. Then, next, we derive that a a b b must have either 98 5's and an abundance of 2's, or 98 2's and an abundance of 5's in its factorization.
Now, consider a number x x . Now, if x x is a multiple of any number, say 5, then, x must be of the form 5 n k 5 n k for some integer k , and for some power of 5 n . So, x x must have n ⋅ 5 n k 5's in its factorization. Now, this shows that a a b b cannot have exactly 98 5's in its prime factorization, as the number of 5's in the prime factorization of the above number must be a multiple of 5, and 98 is not a multiple of 5.
Here we have the guessing part. First, we assume that a is a factor of 5, and in order to minimize a , a must be of the form 2 5 k for integers k ≥ 2 , since if a is not a multiple of 25, then either b also has to be a multiple of 5, (which is not possible since the number of 2's in our factorization cannot be a multiple of 5) or a has to be at least ≥ 1 0 5 , which is too large for minimization. So, our possible values for a are 50 and 75.
Now, for the values of b , we have to assume values of a first. Assume that a = 5 0 , then, b b must have exactly 48 2's in its prime factorization, which is not possible ( I leave the calculations to the reader, dear reader, I believe in you!) So, a must be equal to 7 5 . Then, b must have exactly 98 2's in its factorization. Since 9 8 = 2 ⋅ 7 ⋅ 7 in its factorization, b must be of the form 2 1 ⋅ k for some integer k, as if not, b must be of the form 2 7 ⋅ k , which is too large for minimization. Since if b takes in the form 2 1 ⋅ k , then b must have exactly 1 ⋅ 2 1 ⋅ k 2's in its factorization. Equating this to 98, we get k = 4 9 , and b = 2 1 ⋅ k = 9 8 .
Therefore, 7 5 + 9 8 = 1 7 3 .
P.S. I know there are many gaps in my solution, so please clarify any mistakes you may find. Better still, please write a more appropriate, understandable solution.