Module 3.7 · Number Theory
Number bases
We write numbers in base ten because we have ten fingers. Computers use base two, and clocks use base sixty for minutes and seconds. MATHCOUNTS regularly asks you to convert between bases, do arithmetic in another base, or find an unknown base. Once you see what the digits really mean, all three are routine.
What the digits mean
In base ten, means . In base , the place values are powers of instead.
Definition
Base-b numeral
In base , the numeral (written with a subscript, like ) means Each digit is a whole number from to .
Common mistake
Base has no digit equal to . In base the digits are – only, so "" is not a valid numeral. When a problem asks for an unknown base, the base must be larger than every digit that appears.
Converting to base ten
Multiply each digit by its place value and add.
Worked example: Base five to base ten
Convert to base ten.
Converting from base ten
Find the largest power of that fits, see how many times it fits, and repeat with what's left. Alternatively, divide by repeatedly and read the remainders from bottom to top.
Worked example: Base ten to base six
Write in base six.
Powers of : . Since , start with .
- , so the s digit is .
- , so the s digit is and the units digit is .
So . With repeated division: R , R , R . Reading the remainders upward gives .
The last digit is a remainder
The units digit of in base is the remainder when is divided by . For example, ends in because leaves remainder when divided by .
Arithmetic in another base
Add column by column just like in base ten, but carry when a column reaches instead of .
Worked example: Adding in base seven
Compute . Give your answer in base seven.
- Units: . Write , carry .
- Sevens: . Write , carry .
- Forty-nines: . Write .
The sum is . Check in base ten: , , and .
Finding an unknown base
Write each numeral as a polynomial in and solve.
Worked example: Solve for the base
In some base , . Find .
, so , which gives , or . The base must be positive, so . Check: , , and .
Tip
Always check the answer against the digits. Here the largest digit is , and , so base is allowed.
Practice
Convert to base ten.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Convert to base ten.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Write the base-ten number in base three. (Enter the digits as a number, like .)
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the largest three-digit number in base six, written in base ten?
In what base does equal the base-ten number ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Compute . Give your answer in base eight.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In some base , the numeral equals the base-ten number . What is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many digits does the base-ten number have when written in base four?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For how many bases with does the base- numeral for the base-ten number end in the digit ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
Base problems show up more on MATHCOUNTS and the AMC 10 than on the AMC 8. These AMC 10 problems are a step up, but they use exactly the ideas in this module.
- 2021 AMC 10B, Problem 13: solve for an unknown base and digit.
- 2025 AMC 10B Problems: look for the early problem comparing a two-digit numeral in base seven and base nine.