# 13 Other Bases

In the 1←3 system, three dots in one box is worth one dot in the box one spot to the left. This gives a new picture:

Each dot in the second box from the left is worth three ones. Each dot in the third box is worth three 3’s, which is nine, and so on.

### Example

We said that the 1←3 code for fifteen is 120. We see that this is correct because:

### Problem 8

Answer these questions about the 1←3 system.

- What label should go on the box to the left of the 9 box?
- What would be the value of a box two spots to the left of the 9 box?
- What number has 1←3 code 21002?
- What is the 1←3 code for two hundred dots?

In the 1←4 system, four dots in one box are worth one dot in the box one place to the left.

### Problem 9

Answer these questions about the 1←4 system.

- What is the value of each box in the picture above?
- What is the 1←4 code for twenty-nine dots?
- What number has 1←4 code 132?

### Problem 10

In the 1←10 system, ten dots in one box are worth one dot in the box one place to the left.

- Draw a picture of the 1←10 and label the first four boxes with their values.
- What is the 1←10 code for eight thousand four hundred and twenty-two?
- What number has 1←10 code 95,753?
- When we write the number 7,842, what does the “7” represent?

The “4” is four groups of what value?

The “8” is eight groups of what value?

The “2” is two groups of what value? - Why do you think we use the 1 ← 10 system for writing numbers?

### Definition

Recall that numbers written in the 1←2 system are called **binary** or **base two** numbers.

Numbers written in the 1←3 system are called **base three **numbers.

Numbers written in the 1←4 system are called **base four** numbers.

Numbers written in the 1←10 system are called **base ten** numbers.

In general, numbers written in the 1←*b* system are called **base b** numbers.

In a base *b* number system, each place represents a power of *b*, which means for some whole number *n*. Remember this means *b* multiplied by itself *n* times:

- The right-most place is the units or ones place. (Why is this a power of
*b*?) - The second spot is the “
*b*” place. (In base ten, it’s the tens place.) - The third spot is the “” place. (In base ten, that’s the hundreds place. Note that .)
- The fourth spot is the “” place. (In base ten, that’s the thousands place, since .)
- And so on.

### Notation

Whenever we’re dealing with numbers written in different bases, we use a subscript to indicate the base so that there can be no confusion. So:

- is a base three number (read it as “one-zero-two base three”). This is the base three code for the number eleven.
- is a base four number (read it as “two-two-two base four”). This is the base four code for the number forty-two.
- is a base ten number. (It’s ok to say “fifty-four thousand three hundred and twenty-one.” Why?)

If the base is not written, we assume it’s base ten.

Remember: when you see the subscript, you are seeing the **code** for some number of dots.

### Think / Pair / Share

- Find the number of dots represented by each of these:
- Represent nine dots in each base:
- Which digits are used in the base two system? The base three system? The base four system? The base five system? The base six system? The base ten system?
- What does the
*base*tell you about the number system? (Think of as many answers as you can!)

# Base *b* to Base Ten

We’re now going to describe some general methods for converting from base *b* to base ten, where *b* can represent any whole number bigger than one.

If the base is *b*, that means we’re in a 1←*b* system. A dot in the right-most box is worth 1. A dot in the second box is worth *b*. A dot in the third box is worth , and so on.

So, for example, the number represents

because we imagine three dots in the right-most box (each worth one), two dots in the second box (each representing *b* dots), one dot in the third box (representing dots), and so on. That means we can just do a short calculation to find the total number of dots, without going through all the trouble of drawing the picture and “unexploding” the dots.

### Examples

*Example 1: **Consider the number* *. *

This represents the number

*Example 2: **Consider the number* *. *

# Base Ten to Base *b*

We’re now going to describe some general methods for converting from base ten to base *b*, where *b* can represent any whole number bigger than one.

There are two general methods for doing these conversions. For each method, we’ll work out an example, and then describe the general method. The first method we describe fills in the boxes from left to right.

### Example: Method 1 (left-to-right)

To convert to a base five number (without actually going through the tedious process of exploding dots in groups of five).

Find the largest power of five that is smaller than 321. We’ll just list powers of five:

So we know that the left-most box we’ll use is the 125 box, because 625 is too big.

How many dots will be in the 125 box? That’s the same as asking how many 125’s are in 321. Since

we should put two dots in the 125 box. Three dots would be too much.

How many dots are left unaccounted for? dots are left.

Now repeat the process: The largest power of five that’s less than 71 is . If we put two in the 25 box, that takes care of 50 dots. (Three dots would be 75, which is too much.)

So far we have two dots in the box and two dots in the box, so that’s a total of

We have dots left to account for.

Repeat the process again: The biggest power of 5 that’s less than 21 is 5. How many dots can go in the 5 box? , so we can put four dots in the 5 box.

We have one dot left to account for. If we put one dot in the 1 box, we’re done.

So .

The general algorithm to convert from base ten to base :

- Start with your base ten number
*n*. Find the largest*power of b*that’s less than*n*, say that power is . - Figure out how many dots can go in the box without going over
*n*. Say that number is*a*. Put the digit*a*in the box, and then subtract to figure out how many dots are left. - If your number is now zero, you’ve accounted for all the dots. Put zeros in any boxes that remain, and you have the number. Otherwise, start over at step (1) with the number of dots you have left.

The method is a little tricky to describe in complete generality. It’s probably better to try a few examples on your own to get the hang of it.

### Think / Pair / Share

Use the method above to convert to base three, to base four, and to base five.

Here’s another method to convert base ten numbers to another base, and this method fills in the digits from right to left. Again, we’ll start with an example and then describe the general method.

### Example: Method 2 (right-to-left)

To convert to a base seven number, imagine there are 712 dots in the ones box. We’ll write the number, but imagine it as dots.

Find out how many groups of 7 you can make, and how many dots would be left over.

That means we have 101 groups of 7 dots, with 5 dots left over.

“Explode” the groups of 7 one box to the left, and leave the 5 dots behind.

Now repeat the process: How many groups of 7 can you make from the 101 dots?

“Explode” the groups of 7 one box to the left, and leave the 3 dots behind.

Repeat:

“Explode” the groups of 7 one box to the left, and leave 0 dots behind.

Since there are fewer than 7 dots in each box, we’re done.

Of course, we can (and should!) check our calculation by converting the answer back to base ten:

So here’s a second general method for converting base ten numbers to an arbitrary base *b*:

- Divide the base ten number by
*b*to get a quotient and a remainder. - Put the remainder in the right-most space in the base
*b*number. - If the quotient is less than
*b*, it goes in the space one spot to the left. Otherwise, go back to step (1) and repeat it with the quotient, filling in the remainders from right to left in the base number.

Again, the method probably makes more sense if you try it out a few times.

### Think / Pair / Share

Use the method described above to convert to base three, four, five, and six.