Skip to content
Introduction to Whole Numbers

Introduction to Whole Numbers

By the end of this section, you will be able to: use place value with whole numbers, identify multiples and apply divisibility tests, and find prime factorizations and least common multiples.

Use place value with whole numbers

The most basic numbers used in algebra are the numbers we use to count objects in our world: 1,2,3,41, 2, 3, 4, and so on. These are called the counting numbers. Counting numbers are also called natural numbers. If we add zero to the counting numbers, we get the set of whole numbers.

Counting numbers: 1,2,3,1, 2, 3, \dots

Whole numbers: 0,1,2,3,0, 1, 2, 3, \dots

The notation “\dots” is called ellipsis and means “and so on,” or that the pattern continues endlessly.

We can visualize counting numbers and whole numbers on a number line, which gets larger from left to right and smaller from right to left:

smallerlarger0123456

While this number line shows only the whole numbers 00 through 66, the numbers keep going without end.

Our number system is called a place value system, because the value of a digit depends on its position in a number. The place values are separated into groups of three, which are called periods. The periods are ones, thousands, millions, billions, trillions, and so on. In a written number, commas separate the periods.

The table below shows the place values for the number 5,278,1945{,}278{,}194:

PeriodTrillionsBillionsMillionsThousandsOnes
Hundred
Ten
Digit55278278194194

The digit 55 is in the millions place. The digit 22 is in the hundred-thousands place. The digit 77 is in the ten-thousands place. The digit 88 is in the thousands place. The digit 11 is in the hundreds place. The digit 99 is in the tens place. The digit 44 is in the ones place.

Example. In the number 63,407,21863{,}407{,}218, find the place value of each digit: (a) 77 (b) 00 (c) 11 (d) 66 (e) 33

Placing the number in the place value chart:

MillionsHundred-thousandsTen-thousandsThousandsHundredsTensOnes
6363440077221188

(a) The 77 is in the thousands place. (b) The 00 is in the ten-thousands place. (c) The 11 is in the tens place. (d) The 66 is in the ten-millions place. (e) The 33 is in the millions place.

In the number 27,493,615, the digit 99 sits in the ten-thousands place. What value does that digit contribute to the number (the digit times its place value)?

When you write a check, you write out the number in words as well as in digits. To write a number in words, write the number in each period, followed by the name of the period, without the s at the end. Start at the left, where the periods have the largest value. The ones period is not named. The commas separate the periods, so wherever there is a comma in the number, put a comma between the words. For example, 74,218,36974{,}218{,}369 is written as seventy-four million, two hundred eighteen thousand, three hundred sixty-nine.

Name a whole number in words.

  1. Start at the left and name the number in each period, followed by the period name.
  2. Put commas in the number to separate the periods.
  3. Do not name the ones period.

Example. Name the number 8,165,432,098,7108{,}165{,}432{,}098{,}710 using words.

Naming the number in each period, followed by the period name: 88 is eight trillion, 165165 is one hundred sixty-five billion, 432432 is four hundred thirty-two million, 098098 is ninety-eight thousand, and 710710 is seven hundred ten. Putting the commas in to separate the periods, we get: eight trillion, one hundred sixty-five billion, four hundred thirty-two million, ninety-eight thousand, seven hundred ten.

We can also reverse the process, writing the digits from the name of a number. To do this, we first look for the clue words that indicate the periods. It helps to draw a blank for each place in a period and then fill in the blanks with the digits, separating the periods with commas.

Write a whole number using digits.

  1. Identify the words that indicate periods. (Remember, the ones period is never named.)
  2. Draw blanks to indicate the number of places needed in each period. Separate the periods by commas.
  3. Name the number in each period and place the digits in the correct place value position.

Example. Write nine billion, two hundred forty-six million, seventy-three thousand, one hundred eighty-nine as a whole number using digits.

Identifying the words that indicate periods, then drawing blanks for the number of places needed in each period (billions, millions, thousands, ones): the billions period needs only one place here (nine), the millions period needs three places (246246), the thousands period needs three places (073073), and the ones period needs three places (189189). The number is 9,246,073,1899{,}246{,}073{,}189.

Write the number two billion, four hundred sixty-six million, seven hundred fourteen thousand, fifty-one as a whole number using digits.

In 2013, the U.S. Census Bureau estimated the population of the state of New York as 19,651,12719{,}651{,}127. We could say the population of New York was approximately 2020 million. In many cases, you don’t need the exact value; an approximate number is good enough.

The process of approximating a number is called rounding. Numbers are rounded to a specific place value, depending on how much accuracy is needed. Saying that the population of New York is approximately 2020 million means that we rounded to the millions place.

Round whole numbers.

  1. Locate the given place value and mark it with an arrow. All digits to the left of the arrow do not change.
  2. Underline the digit to the right of the given place value.
  3. Is this digit greater than or equal to 55?
    • Yes—add 11 to the digit in the given place value.
    • No—do not change the digit in the given place value.
  4. Replace all digits to the right of the given place value with zeros.

Example. Round 23,65823{,}658 to the nearest hundred.

The hundreds place in 23,65823{,}658 holds the 66. The digit to its right is 55, which is greater than or equal to 55, so we add 11 to the 66, making it 77, and replace the remaining digits with zeros. So 23,65823{,}658 rounds to 23,70023{,}700.

Example. Round 103,978103{,}978 to the nearest (a) hundred (b) thousand (c) ten thousand.

(a) The hundreds place holds the 99. The digit to its right is 77, which is greater than or equal to 55, so we add 11 to the 99 (which carries), giving 103,978103{,}978 rounded to the nearest hundred as 104,000104{,}000.

(b) The thousands place holds the 33. The digit to its right is 99, which is greater than or equal to 55, so we add 11 to the 33, giving 44. Replacing the rest with zeros, 103,978103{,}978 rounded to the nearest thousand is 104,000104{,}000.

(c) The ten-thousands place holds the 00. The digit to its right is 33, which is less than 55, so we leave the 00 as is. Replacing the rest with zeros, 103,978103{,}978 rounded to the nearest ten thousand is 100,000100{,}000.

Round 206,981 to the nearest ten thousand.

Round 784,951 to the nearest thousand.

In algebra, we use a letter of the alphabet to represent a number whose value may change or is unknown. Commonly used symbols are a,b,c,m,n,xa, b, c, m, n, x, and yy.

Identify multiples and apply divisibility tests

The numbers 2,4,6,8,102, 4, 6, 8, 10, and 1212 are called multiples of 22. A multiple of 22 can be written as the product of 22 and a counting number:

2,4,6,8,10,12,2, \quad 4, \quad 6, \quad 8, \quad 10, \quad 12, \dots21,22,23,24,25,262 \cdot 1, \quad 2 \cdot 2, \quad 2 \cdot 3, \quad 2 \cdot 4, \quad 2 \cdot 5, \quad 2 \cdot 6

Similarly, a multiple of 33 would be the product of a counting number and 33:

3,6,9,12,15,18,3, \quad 6, \quad 9, \quad 12, \quad 15, \quad 18, \dots31,32,33,34,35,363 \cdot 1, \quad 3 \cdot 2, \quad 3 \cdot 3, \quad 3 \cdot 4, \quad 3 \cdot 5, \quad 3 \cdot 6

We could find the multiples of any number by continuing this process.

Multiple of a number. A number is a multiple of nn if it is the product of a counting number and nn.

Another way to say that 1515 is a multiple of 33 is to say that 1515 is divisible by 33. That means that when we divide 1515 by 33, we get a counting number. In fact, 15÷315 \div 3 is 55, so 1515 is 535 \cdot 3.

Divisible by a number. If a number mm is a multiple of nn, then mm is divisible by nn.

Look at the multiples of 55: they all end in 55 or 00. Numbers with a last digit of 55 or 00 are divisible by 55. Looking for other patterns in the multiples of the numbers 22 through 99, we can discover the following divisibility tests:

Divisibility tests. A number is divisible by:

  • 22 if the last digit is 0,2,4,60, 2, 4, 6, or 88.
  • 33 if the sum of the digits is divisible by 33.
  • 55 if the last digit is 55 or 00.
  • 66 if it is divisible by both 22 and 33.
  • 1010 if it ends with 00.

Example. Is 5,6255{,}625 divisible by 22? By 33? By 55? By 66? By 1010?

Is 5,6255{,}625 divisible by 22? It does not end in 0,2,4,60, 2, 4, 6, or 88, so 5,6255{,}625 is not divisible by 22.

Is 5,6255{,}625 divisible by 33? The sum of the digits is 5+6+2+5=185 + 6 + 2 + 5 = 18, and 1818 is divisible by 33, so 5,6255{,}625 is divisible by 33.

Is 5,6255{,}625 divisible by 55 or 1010? The last digit is 55, so 5,6255{,}625 is divisible by 55 but not by 1010.

Is 5,6255{,}625 divisible by 66? It is not divisible by both 22 and 33 (it fails 22), so 5,6255{,}625 is not divisible by 66.

4,962 passes the divisibility test for 22 and the divisibility test for 33. What is the smallest whole number, other than 11, that 4,962 is guaranteed to be divisible by as a result of passing both tests?

3,765 is divisible by 55 but not by 22. Divide 3,765 by 55 to find the counting number that makes 55 a factor of 3,765.

Find prime factorizations and least common multiples

In mathematics, there are often several ways to talk about the same ideas. So far, we’ve seen that if mm is a multiple of nn, we can say that mm is divisible by nn. For example, since 7272 is a multiple of 88, we say 7272 is divisible by 88. Since 7272 is a multiple of 99, we say 7272 is divisible by 99. We can express this still another way.

Since 89=728 \cdot 9 = 72, we say that 88 and 99 are factors of 7272. When we write 72=8972 = 8 \cdot 9, we say we have factored 7272.

Other ways to factor 7272 are 1721 \cdot 72, 2362 \cdot 36, 3243 \cdot 24, 4184 \cdot 18, and 6126 \cdot 12. Seventy-two has many factors: 1,2,3,4,6,8,9,12,18,24,361, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, and 7272.

Factors. In the expression aba \cdot b, both aa and bb are called factors. If ab=ma \cdot b = m and both aa and bb are integers, then aa and bb are factors of mm.

Some numbers, like 7272, have many factors. Other numbers have only two factors.

Prime number and composite number. A prime number is a counting number greater than 11, whose only factors are 11 and itself. A composite number is a counting number that is not prime. A composite number has factors other than 11 and itself.

The counting numbers from 22 to 1919, with their factors, show which are prime and which are composite:

NumberFactorsPrime or composite?
221,21, 2Prime
331,31, 3Prime
441,2,41, 2, 4Composite
551,51, 5Prime
661,2,3,61, 2, 3, 6Composite
771,71, 7Prime
881,2,4,81, 2, 4, 8Composite
991,3,91, 3, 9Composite
10101,2,5,101, 2, 5, 10Composite
11111,111, 11Prime
12121,2,3,4,6,121, 2, 3, 4, 6, 12Composite
13131,131, 13Prime
14141,2,7,141, 2, 7, 14Composite
15151,3,5,151, 3, 5, 15Composite
16161,2,4,8,161, 2, 4, 8, 16Composite
17171,171, 17Prime
18181,2,3,6,9,181, 2, 3, 6, 9, 18Composite
19191,191, 19Prime

The prime numbers less than 2020 are 2,3,5,7,11,13,172, 3, 5, 7, 11, 13, 17, and 1919. Notice that the only even prime number is 22.

A composite number can be written as a unique product of primes. This is called the prime factorization of the number. Finding the prime factorization of a composite number will be useful later in this course.

Prime factorization. The prime factorization of a number is the product of prime numbers that equals the number. These prime numbers are called the prime factors.

To find the prime factorization of a composite number, find any two factors of the number and use them to create two branches. If a factor is prime, that branch is complete — circle that prime. If the factor is not prime, find two factors of it and continue the process. Once all the branches have circled primes at the end, the factorization is complete. The composite number can now be written as a product of prime numbers.

Find the prime factorization of a composite number using the tree method.

  1. Find two factors whose product is the given number. Use these numbers to create two branches.
  2. If a factor is prime, that branch is complete. Circle the prime.
  3. If a factor is not prime, write it as the product of two factors and continue the process.
  4. Write the composite number as the product of all the circled primes.

Example. Factor 4848.

We start by finding two factors whose product is 4848 — say 22 and 2424. Since 22 is prime, that branch is complete. 2424 is not prime, so we break it into 44 and 66. Neither is prime, so we break 44 into 22 and 22, and 66 into 22 and 33. All of these are prime, so we circle them:

48224462223

We say 222232 \cdot 2 \cdot 2 \cdot 2 \cdot 3 is the prime factorization of 4848. We generally write the primes in ascending order. Be sure to multiply the factors to verify your answer!

48=2222348 = 2 \cdot 2 \cdot 2 \cdot 2 \cdot 3

If we first factored 4848 in a different way — for example, as 686 \cdot 8 — the result would still be the same.

Find the prime factorization of 80 using the factor tree method. Enter the answer in exponential form, e.g. 2352^3 \cdot 5.

Find the prime factorization of 60 using the factor tree method. Enter the answer in exponential form, e.g. 2352^3 \cdot 5.

Example. Find the prime factorization of 252252.

We find two factors of 252252 that are not prime — 1212 and 2121 — and break each into two more factors. Continuing until all branches end in a prime:

2521221262337

Writing 252252 as the product of all the circled primes:

252=22337252 = 2 \cdot 2 \cdot 3 \cdot 3 \cdot 7

Find the prime factorization of 126. Enter the answer in exponential form, e.g. 2232^2 \cdot 3.

Find the prime factorization of 294. Enter the answer in exponential form, e.g. 2322 \cdot 3^2.

One of the reasons we look at multiples and primes is to use these techniques to find the least common multiple of two numbers. This will be useful when we add and subtract fractions with different denominators. Two methods are used most often to find the least common multiple, and we will look at both of them.

The first method is the Listing Multiples Method. To find the least common multiple of 1212 and 1818, we list the first few multiples of each:

12 ⁣: 12,24,36,48,60,72,84,96,108,12\colon\ 12, 24, \mathbf{36}, 48, 60, \mathbf{72}, 84, 96, \mathbf{108}, \dots

18 ⁣: 18,36,54,72,90,108,18\colon\ 18, \mathbf{36}, 54, \mathbf{72}, 90, \mathbf{108}, \dots

Notice that some numbers appear in both lists. They are the common multiples of 1212 and 1818: 36,7236, 72, and 108108. Since 3636 is the smallest of the common multiples, we call it the least common multiple. We often use the abbreviation LCM.

Least common multiple. The least common multiple (LCM) of two numbers is the smallest number that is a multiple of both numbers.

Find the least common multiple by listing multiples.

  1. List several multiples of each number.
  2. Look for the smallest number that appears on both lists.
  3. This number is the LCM.

Example. Find the least common multiple of 1515 and 2020 by listing multiples.

Listing the first few multiples of 1515 and of 2020:

15 ⁣: 15,30,45,60,75,90,105,12015\colon\ 15, 30, 45, \mathbf{60}, 75, 90, 105, 120

20 ⁣: 20,40,60,80,100,120,140,16020\colon\ 20, 40, \mathbf{60}, 80, 100, 120, 140, 160

The smallest number to appear on both lists is 6060, so 6060 is the least common multiple of 1515 and 2020:

LCM(15,20)=60\text{LCM}(15, 20) = 60

Notice that 120120 is on both lists, too. It is a common multiple, but it is not the least common multiple.

Find the LCM of 99 and 1212 by listing multiples.

Find the LCM of 1818 and 2424 by listing multiples.

Our second method to find the least common multiple of two numbers is to use the Prime Factors Method. Let’s find the LCM of 1212 and 1818 again, this time using their prime factors.

Find the least common multiple using the prime factors method.

  1. Write each number as a product of primes.
  2. List the primes of each number. Match primes vertically when possible.
  3. Bring down the columns.
  4. Multiply the factors.

Example. Find the LCM of 1212 and 1818 using the prime factors method.

Writing each number as a product of primes and matching primes vertically when possible, then bringing down the columns:

22223333
12=12 =222233
18=18 =223333
LCM=\text{LCM} =22223333

Multiplying the factors: LCM(12,18)=2233=36\text{LCM}(12, 18) = 2 \cdot 2 \cdot 3 \cdot 3 = 36.

Notice that the prime factors of 1212 (2232 \cdot 2 \cdot 3) and the prime factors of 1818 (2332 \cdot 3 \cdot 3) are included in the LCM (22332 \cdot 2 \cdot 3 \cdot 3). By matching up the common primes, each common prime factor is used only once. This ensures that 3636 is the least common multiple.

Example. Find the LCM of 2424 and 3636 using the prime factors method.

Finding the primes of 2424 and 3636 and matching primes vertically when possible:

2222223333
24=24 =22222233
36=36 =22223333
LCM=\text{LCM} =2222223333

Multiplying the factors: LCM(24,36)=22233=72\text{LCM}(24, 36) = 2 \cdot 2 \cdot 2 \cdot 3 \cdot 3 = 72. The LCM of 2424 and 3636 is 7272.

Find the LCM of 2121 and 2828 using the prime factors method.

Find the LCM of 2424 and 3232 using the prime factors method.

Key terms

counting numbers — the numbers 1,2,3,1, 2, 3, \dots, also called natural numbers. whole numbers — the counting numbers together with 00. rounding — approximating a number to a specific place value. multiple of a number — a number that is the product of a counting number and nn. divisiblemm is divisible by nn if mm is a multiple of nn. factors — numbers whose product is a given number. prime number — a counting number greater than 11 whose only factors are 11 and itself. composite number — a counting number that is not prime. prime factorization — the product of prime numbers that equals a given number. least common multiple (LCM) — the smallest number that is a multiple of two given numbers.


This section is adapted from Elementary Algebra 2e, Section 1.1: Introduction to Whole Numbers by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the place-value chart, factor-tree diagrams, and prime-factor column alignments as tables and accessible inline graphics; omitted the Be Prepared quiz, Manipulative Mathematics callouts, media links, Self Check checklist, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.