The idea

A numeral in base is a polynomial in with digit coefficients below . Conversions, digit counts and 'find the base' questions all come from this single expansion.
Textbook vs exam method
Textbook method
Base to decimal: multiply out the place values. Decimal to base: repeated division, read the remainders from the last to the first. Digit count: . Unknown base: expand both sides and solve, then check digit validity.
Exam method
- ; in base : , , gives .
- : , .
- : , , .
- in base with five digits: gives or ; least .
- Numbers below using only and : - seven ().
Worked examples
Example 1Sitter
; in base
: .
Example 2Easy
Unit digit of in base
.
Example 3Easy
Digits of in base
: digits.
Example 4Typical
Four-digit decimals with exactly four base- digits
meets in : numbers.
Example 5Typical
In base ,
, .
Traps
- Reversed remainders; decimal place values; invalid digits; digit-count off by one.
Formulas
Place value in base b
(273)_8 = 2 x 64 + 7 x 8 + 3 = 187; every digit must be below the base - (207)_7 is invalid.
Converting a decimal to base b
Last remainder = leading digit; check by converting back.
Digit count in base b
1777 has five digits in base 5 (625 <= 1777 < 3125) and in base 6 (1296 <= 1777 < 7776); least base 5.
Last digits in base b
Last three binary digits of N are the binary form of N mod 8.
Solving for an unknown base
(25)_n x (31)_n = (1015)_n gives n^3 - 6n^2 - 16n = 0, n = 8 (QC); reject roots not exceeding every digit.
Numbers using only the digits 0 and 1
The 10th such number is 1010 (binary of 10); count of such numbers below 10^k is 2^k - 1.
In the exam
Shortcuts
- Expand the numeral in powers of the unknown base and solve the (usually linear or quadratic) equation; discard bases not larger than every digit.
- Digit-count questions are two inequalities: ; test consecutive bases.
- For 'last digits in base ' only matters.
- Arithmetic in base : convert to decimal, compute, convert back - safer than column carries under time pressure.
~50 s per question at exam speed
When to skip: Never - conversions are mechanical. A product equation in an unknown base (cubic) can take 90 s; keep it for the end.
Before this
What the exams ask here
- convert base
- count numbers with binary digits below N
- (25)_x = (85)_10 -> x
- 1777 has exactly 5 digits in base x -> least x
- last three binary digits of N