Learning Outcomes
- Find all the factors of a given number
- Determine whether a number is prime or composite
There are often several ways to talk about the same idea. So far, we’ve seen that if is a multiple of , we can say that is divisible by . We know that is the product of and , so we can say is a multiple of and is a multiple of . We can also say is divisible by and by . Another way to talk about this is to say that and are factors of . When we write we can say that we have factored .
Factors
If , then are factors of , and is the product of .
In algebra, it can be useful to determine all of the factors of a number. This is called factoring a number, and it can help us solve many kinds of problems.
For example, suppose a choreographer is planning a dance for a ballet recital. There are dancers, and for a certain scene, the choreographer wants to arrange the dancers in groups of equal sizes on stage.
In how many ways can the dancers be put into groups of equal size? Answering this question is the same as identifying the factors of . The table below summarizes the different ways that the choreographer can arrange the dancers.
Number of Groups | Dancers per Group | Total Dancers |
---|---|---|
What patterns do you see in the table above? Did you notice that the number of groups times the number of dancers per group is always This makes sense, since there are always dancers.
You may notice another pattern if you look carefully at the first two columns. These two columns contain the exact same set of numbers—but in reverse order. They are mirrors of one another, and in fact, both columns list all of the factors of , which are:
We can find all the factors of any counting number by systematically dividing the number by each counting number, starting with . If the quotient is also a counting number, then the divisor and the quotient are factors of the number. We can stop when the quotient becomes smaller than the divisor.
Find all the factors of a counting number
- Divide the number by each of the counting numbers, in order, until the quotient is smaller than the divisor.
- If the quotient is a counting number, the divisor and quotient are a pair of factors.
- If the quotient is not a counting number, the divisor is not a factor.
- List all the factor pairs.
- Write all the factors in order from smallest to largest.
example
Find all the factors of .
Solution:
Divide by each of the counting numbers starting with . If the quotient is a whole number, the divisor and quotient are a pair of factors.
The next line would have a divisor of and a quotient of . The quotient would be smaller than the divisor, so we stop. If we continued, we would end up only listing the same factors again in reverse order. Listing all the factors from smallest to greatest, we have
try it
In the following video we show how to find all the factors of .
Identify Prime and Composite Numbers
Some numbers, like , have many factors. Other numbers, such as , have only two factors: and the number. A number with only two factors is called a prime number. A number with more than two factors is called a composite number. The number is neither prime nor composite. It has only one factor, itself.
Prime Numbers and Composite Numbers
A prime number is a counting number greater than whose only factors are and itself.
A composite number is a counting number that is not prime.
The table below lists the counting numbers from through along with their factors. The highlighted numbers are prime, since each has only two factors.
Factors of the counting numbers from through , with prime numbers highlighted
The prime numbers less than are . There are many larger prime numbers too. In order to determine whether a number is prime or composite, we need to see if the number has any factors other than and itself. To do this, we can test each of the smaller prime numbers in order to see if it is a factor of the number. If none of the prime numbers are factors, then that number is also prime.
Determine if a number is prime
- Test each of the primes, in order, to see if it is a factor of the number.
- Start with and stop when the quotient is smaller than the divisor or when a prime factor is found.
- If the number has a prime factor, then it is a composite number. If it has no prime factors, then the number is prime.
example
Identify each number as prime or composite:
try it
In the following video we show more examples of how to determine whether a number is prime or composite.
Candela Citations
- Question ID 145441, 145439. Authored by: Lumen Learning. License: CC BY: Attribution. License Terms: IMathAS Community License
- Ex 1: Determine Factors of a Number. Located at: https://youtu.be/3EL3VA2v9iI. License: CC BY: Attribution
- Ex 1: Prime Factorization Using Stacked Division. Authored by: James Sousa (Mathispower4u.com). Located at: https://youtu.be/V_wBWdndCuw. License: CC BY: Attribution
- Determine if Numbers Are Prime or Composite (Algorithm). Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution
- Prealgebra. Provided by: OpenStax. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/caa57dab-41c7-455e-bd6f-f443cda5519c@9.757