Sub topic 14
Checking Answers and Choosing the Fastest Method
Assume you know place value, powers, remainders, basic algebra, and long division. In a CAT question, a correct method is useful, but a quick check can prevent arithmetic errors and show when a longer method is unnecessary.
Start with the structure of the question
Before calculating, identify what the digits represent.
- A numeral with \(k\) digits in base \(b\) lies between \(b^{k-1}\) and \(b^k-1\).
- Every digit must be less than the base. For example, \(8\) cannot appear in base 8.
- The rightmost digit gives the remainder after division by the base.
- The last two digits determine the remainder modulo \(b^2\).
For example, \((243)_5\) is valid because all digits are below 5. Its value must lie between \(5^2=25\) and \(5^3-1=124\). Expanding gives \(2(25)+4(5)+3=73\), which passes the size check.
Choose the shortest reliable method
| Question type | Fastest useful method | Quick check |
|---|---|---|
| Base \(b\) to decimal | Expand by place value | Estimate using the highest power |
| Decimal to base \(b\) | Repeated division | Reconvert the result |
| Binary, octal, hexadecimal | Group bits | Check group lengths |
| Arithmetic in base \(b\) | Work column by column | Check each carry or borrow |
| Unknown base | Translate into powers of \(b\) | Test digit validity and bounds |
| Divisibility | Use digit or alternating sums | Compare with the required remainder |
| Digit reversal | Write algebraic forms | Check the difference or sum |
Do not convert an entire number to decimal if a local property answers the question. To find the last hexadecimal digit, for instance, inspect only the remainder modulo 16.
Use modular checks
A remainder check compares two expressions after division by the same number. In base 10, \(10\) leaves remainder 1 modulo 9, so every power of 10 also leaves remainder 1. Therefore,
\[ 7384 \equiv 7+3+8+4=22 \equiv 4 \pmod 9. \]
The number and its digit sum have the same remainder modulo 9. The same idea works modulo 3.
For divisibility by 11, powers of 10 alternate between \(1\) and \(-1\). Subtract alternating digit positions. For 583, calculate \(3-8+5=0\), so 583 is divisible by 11.
In another base, use the base itself. In base \(b\), a numeral’s last digit gives its remainder modulo \(b\). If \(b\equiv 1\pmod m\), the digit sum gives a remainder check modulo \(m\).
def check_base_digits(digits, base):
values = {str(i): i for i in range(10)}
values.update({chr(65 + i): 10 + i for i in range(6)})
value = 0
for symbol in digits.upper():
if symbol not in values or values[symbol] >= base:
return False, None
value = value * base + values[symbol]
return True, value
print(check_base_digits("2D", 16)) # (True, 45)
print(check_base_digits("28", 8)) # (False, None)Check reversals and estimates
Write a two-digit number as \(10a+b\), and its reversal as \(10b+a\). Their difference is
\[ (10a+b)-(10b+a)=9(a-b). \]
Thus, the difference must be divisible by 9. This check is often faster than calculating both numbers fully.
For digit-counting questions, separate the ranges by place value: 1–9, 10–99, 100–999, and so on. A result that is too large for the number of positions is impossible. For example, writing 1 through 99 uses \(9+90(2)=189\) digits.
Exercise
A student says that (132)_4 equals 30 in decimal. What is the fastest way to reject or confirm the answer?
Show answer
Expand it: 1(4^2)+3(4)+2=16+12+2=30. The answer is confirmed. The digit-validity check also passes because every digit is less than 4.