Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

If the digits represented by and satisfy the following subtraction problem \begin{array}{c@{}c@{\;}c@{}c@{}c@{}c} & & & & A & B_4\\ &- & & & B & A_4\\ \cline{2-6} & & & & & 3_4\\ \end{array}what is the nonnegative difference of the digits represented by and ?
Solution
In the subtraction problem, we can start by looking at the left column. The first possible case is that , so that . However, if , that does not work in the right column, since would equal 0 and not 3. So, we have to go with the second possibility for the left column, in which the right column borrowed from the left column and we're left with . This tells us that , so the nonnegative difference of and is .

Note that we are unable to solve for the actual digits and even if we consider the units digit. Now that we know the right column borrows from the left column, we get that \begin{array}{c@{}c@{\;}c@{}c@{}c@{}c} & & & & 1 & B_4\\ &- & & & & A_4\\ \cline{2-6} & & & & & 3_4.\\ \end{array}This also means , which is the same as . We can't solve for and because any digits that satisfy will work, such as or .
Final answer
1