Base a a and b b

A number can be represented as 123 in base a a . The same number can also be represented as 146 in base b b . Find the minimum value of a + b a+b .


The answer is 15.

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.

2 solutions

Kenny O.
Aug 21, 2017

123 in base a = 146 in base b
a 2 a^2 + 2a + 3= b 2 b^2 +4b +6
( a + 1 ) 2 (a+1)^2 +2 = ( b + 2 ) 2 (b+2)^2 +2
(a+1)^2 = (b+2)^2
As a and b are positive, a+1=b+2
a-1=b
The minimum value of b is 7
a=8
8+7= 15


It's really neat that both sides of the equation were two away from perfect squares. Nice solution!

Joseph Wilson - 3 years, 9 months ago

Notice that from ( a + 1 ) 2 = ( b + 2 ) 2 (a+1)^2 = (b+2)^2 , you cannot tell that ( a + 1 ) = ( b + 2 ) (a+1) = (b+2)

Agnishom Chattopadhyay - 3 years, 9 months ago

Log in to reply

This is a good point, but since neither a nor b can be negative numbers, the second solution (a+1=-b-2) is trivial.

JD Money - 3 years, 9 months ago

Log in to reply

It would probably be a good idea to note this in the solution, though

JD Money - 3 years, 9 months ago

Log in to reply

@Jd Money I've done the necessary add-ons.

Kenny O. - 3 years, 9 months ago
Arjen Vreugdenhil
Aug 22, 2017

We must solve a 2 + 2 a + 3 = b 2 + 4 b + 6. a^2 + 2a + 3 = b^2 + 4b + 6. A neat trick is to write s s for the sum of a a and b b , and d d for their difference. a = s + d 2 , b = s d 2 . a = \frac{s + d}2,\ \ \ b = \frac{s - d}2. By doing so, I know that the squares s 2 s^2 and d 2 d^2 will cancel on both sides. 1 4 ( s + d ) 2 + ( s + d ) + 3 = 1 4 ( s d ) 2 + 2 ( s d ) + 6. \tfrac14(s + d)^2 + (s + d) + 3 = \tfrac14(s - d)^2 + 2(s - d) + 6. s d s + 3 d 3 = 0. sd - s + 3d - 3 = 0. ( s + 3 ) ( d 1 ) = 0. (s + 3)(d - 1) = 0. Thus, either the sum s s should be 3 -3 (which is impossible, since no negative bases are allowed), OR the difference d d should be equal to 1. That gives a = b + 1 a = b+1 .

But b 7 b \geq 7 because a digit "6" is used. Thus we choose a + b = 8 + 7 = 15 . a + b = 8 + 7 = \boxed{15}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...