and are already written in some positive integer base for which one of them is divisible by the other, find the value of .
If the numbers
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.
Convert both numbers to their algebraic form in any base:
2 2 1 = 2 a 2 + 2 a + 1
1 2 1 5 = a 3 + 2 a 2 + a + 5
Then, do long division
The remainder must be 0 in order to 2 2 1 divides 1 2 1 5 ⇒ − 2 1 a + 4 . 5 = 0 ∴ a = 9
In base 9 , 2 2 1 divides 1 2 1 5