Factors & Multiples

Study Sheet

Factors & Multiples

Everything about factors, multiples, primes, GCF, and LCM

Factors of a Number

Concept
What a Factor Is

A factor of a number divides into it evenly, leaving no remainder. If a×b=na \times b = n, then both aa and bb are factors of nn.

To find all the factors of a number, work in pairs. Start at 11 and count upward: for each number that divides evenly, write down both partners. Stop once the pairs start to repeat.

Example
Finding every factor of 36

Test each number in order and record the factor pairs:

1×36,2×18,3×12,4×9,6×6.\begin{aligned} 1 \times 36, \quad 2 \times 18, \quad 3 \times 12, \quad 4 \times 9, \quad 6 \times 6. \end{aligned}

(Note 55 does not divide 3636, so it is skipped.) Collecting both partners in order:

1, 2, 3, 4, 6, 9, 12, 18, 36.1,\ 2,\ 3,\ 4,\ 6,\ 9,\ 12,\ 18,\ 36.

So 3636 has 99 factors.

Tip

Every whole number has 11 and itself as factors. When a factor pair is a number times itself (like 6×6=366 \times 6 = 36), that number is listed only once --- this happens for perfect squares.

Multiples of a Number

Concept
What a Multiple Is

A multiple of a number is what you get by multiplying it by 1,2,3,4,1, 2, 3, 4, \dots In other words, it is any number in that number's “times table.” Multiples go on forever, while factors are a short, finite list.

Multiples of 6:6, 12, 18, 24, 30, 36, \text{Multiples of } 6:\quad 6,\ 12,\ 18,\ 24,\ 30,\ 36,\ \dots
Example
Listing multiples and checking membership

List the first five multiples of 88, then decide whether 5454 is a multiple of 88.

Multiples of 8:8, 16, 24, 32, 40.Is 54 a multiple?54÷8=6 remainder 6  No.\begin{aligned} \text{Multiples of } 8:\quad & 8,\ 16,\ 24,\ 32,\ 40. \\ \text{Is } 54 \text{ a multiple?}\quad & 54 \div 8 = 6\text{ remainder } 6 \ \Rightarrow\ \text{No.} \end{aligned}

Because the division leaves a remainder, 5454 is not a multiple of 88.

Tip

“Factor” and “multiple” are opposite viewpoints of the same fact: since 4×5=204 \times 5 = 20, we can say 44 is a factor of 2020 and 2020 is a multiple of 44. Factors are smaller (or equal); multiples are larger (or equal).

Prime and Composite Numbers

Concept
Two Kinds of Whole Numbers
  • A prime number has exactly two factors: 11 and itself. The first primes are 2,3,5,7,11,13,17,19,23,2, 3, 5, 7, 11, 13, 17, 19, 23, \dots
  • A composite number has more than two factors --- it can be broken into smaller factors.
  • The number 11 is neither prime nor composite: it has only one factor.
  • 22 is the only even prime; every other even number has 22 as an extra factor.
Example
Prime or composite?

Classify 2323 and 3939.

23:no number from 2 to 4 divides it evenly  prime.39:39=3×13 composite.\begin{aligned} 23:\quad & \text{no number from } 2 \text{ to } 4 \text{ divides it evenly } \Rightarrow\ \textbf{prime}. \\ 39:\quad & 39 = 3 \times 13 \Rightarrow\ \textbf{composite}. \end{aligned}

To test a number, try dividing by the small primes 2,3,5,7,2, 3, 5, 7, \dots You only need to check primes up to its square root.

Tip

To check whether a number is prime, you do not have to test every smaller number --- only primes up to its square root. For 5353, checking 2,3,5,72, 3, 5, 7 is enough (since 72=49<53<64=827^2 = 49 < 53 < 64 = 8^2), and none divide it, so 5353 is prime.

Divisibility Rules

Concept
Quick Tests for Even Division

These shortcuts tell you if a number divides evenly without doing the long division.

  • 2: the last digit is even (0,2,4,6,80, 2, 4, 6, 8).
  • 3: the sum of the digits is divisible by 33.
  • 4: the number formed by the last two digits is divisible by 44.
  • 5: the last digit is 00 or 55.
  • 6: it passes the tests for both 22 and 33.
  • 9: the sum of the digits is divisible by 99.
  • 10: the last digit is 00.
Example
Testing 780 against every rule

Which of 2,3,4,5,6,9,102, 3, 4, 5, 6, 9, 10 divide 780780?

  • 2: last digit 00 is even ✓
  • 3: digits 7+8+0=157+8+0 = 15, divisible by 33
  • 4: last two digits 80÷4=2080 \div 4 = 20
  • 5: ends in 00
  • 6: passes 22 and 33
  • 9: digit sum 1515 is not divisible by 99 --- no
  • 10: ends in 00

So 780780 is divisible by 2,3,4,5,6,2, 3, 4, 5, 6, and 1010, but not 99.

Tip

The rule for 66 is really the rules for 22 and 33 working together. In the same way, a number divisible by 99 is automatically divisible by 33 --- but not the other way around.

Prime Factorization

Concept
Breaking a Number into Primes

The prime factorization of a number writes it as a product of prime numbers only. Every composite number has exactly one prime factorization (in some order). A factor tree is the easiest way to find it: split the number into any two factors, then keep splitting until every branch ends in a prime. Finally, write repeated primes using exponents.

Example
Factor tree for 180

Split 180180 step by step:

180=18×10=(2×9)×(2×5)=2×3×3×2×5.180 = 18 \times 10 = (2 \times 9) \times (2 \times 5) = 2 \times 3 \times 3 \times 2 \times 5.

Group and order the primes, then use exponents:

180=22×32×5.180 = 2^2 \times 3^2 \times 5.

Check: 4×9×5=180.4 \times 9 \times 5 = 180.

Tip

No matter which factors you split off first, an honest factor tree always ends with the same set of primes. Starting 180=4×45180 = 4 \times 45 or 180=6×30180 = 6 \times 30 leads to the identical answer 22×32×52^2 \times 3^2 \times 5.

Greatest Common Factor (GCF)

Concept
The Largest Shared Factor

The greatest common factor of two numbers is the biggest number that divides both. There are two reliable methods:

  • Listing: list the factors of each number, then pick the largest one they share.
  • Prime factorization: factor each number into primes, then multiply the primes they have in common (using the smaller exponent of each shared prime).
Example
GCF of 24 and 36, two ways

Listing method:

24: 1,2,3,4,6,8,12,2436: 1,2,3,4,6,9,12,18,36\begin{aligned} 24:\ & 1, 2, 3, 4, 6, 8, 12, 24 \\ 36:\ & 1, 2, 3, 4, 6, 9, 12, 18, 36 \end{aligned}

Shared factors: 1,2,3,4,6,121, 2, 3, 4, 6, 12. The greatest is 12\boxed{12}.

Prime-factorization method:

24=23×3,36=22×32.24 = 2^3 \times 3, \qquad 36 = 2^2 \times 3^2.

Take the shared primes at their smaller powers: 22×3=12.2^2 \times 3 = 12.

Tip

The prime-factorization method wins for big numbers where listing every factor is slow. For the GCF, keep only primes that appear in both numbers, each raised to the lower power.

Least Common Multiple (LCM)

Concept
The Smallest Shared Multiple

The least common multiple of two numbers is the smallest number that both divide into --- the first multiple they share. Again, two methods:

  • Listing: list the multiples of each number until one appears in both lists.
  • Prime factorization: factor each number, then multiply every prime that appears in either number, using the larger exponent of each.
Example
LCM of 8 and 12, two ways

Listing method:

8: 8,16,24,32,12: 12,24,36,\begin{aligned} 8:\ & 8, 16, 24, 32, \dots \\ 12:\ & 12, 24, 36, \dots \end{aligned}

The first shared multiple is 24\boxed{24}.

Prime-factorization method:

8=23,12=22×3.8 = 2^3, \qquad 12 = 2^2 \times 3.

Take every prime at its larger power: 23×3=24.2^3 \times 3 = 24.

Tip

For the LCM, use the higher power of every prime; for the GCF, use the lower power of only the shared primes. A handy check: GCF×LCM=\text{GCF} \times \text{LCM} = the product of the two numbers. Here 4×24=96=8×12.4 \times 24 = 96 = 8 \times 12.

Word Problems: GCF or LCM?

Concept
Deciding Which to Use

The hardest part of a word problem is choosing the right tool. Watch for these signals:

  • Use the GCF when you split or group things into the largest equal piles, rows, or teams --- the numbers get smaller. Clues: “greatest,” “largest,” “equal groups,” “split evenly.”
  • Use the LCM when events repeat and you want the next time they line up, or the smallest amount that works for both --- the numbers get bigger. Clues: “at the same time,” “again,” “least,” “smallest,” “every.”
Example
A GCF problem

A teacher has 2424 pencils and 3636 erasers. She wants to make identical goody bags using all the supplies, with the greatest number of bags. How many bags, and what is in each?

We are splitting into the largest equal groups \Rightarrow GCF.

GCF(24,36)=12.\text{GCF}(24, 36) = 12.

So 1212 bags, each with 24÷12=224 \div 12 = 2 pencils and 36÷12=336 \div 12 = 3 erasers.

Example
An LCM problem

One lighthouse flashes every 88 seconds and another every 1212 seconds. They just flashed together. When will they next flash at the same time?

Repeating events lining up again \Rightarrow LCM.

LCM(8,12)=24.\text{LCM}(8, 12) = 24.

They flash together again after 2424 seconds.

Tip

Quick gut-check: if the answer should be smaller than the numbers in the problem (fewer, larger groups), it is a GCF. If the answer should be larger (a later time, a bigger shared total), it is an LCM.

Going Deeper: Advanced Number Theory

Concept
Counting Divisors from the Prime Factorization

Once a number is written in prime-power form, you can count how many factors it has without listing a single one. If

n=pa×qb×rc×,n = p^{a} \times q^{b} \times r^{c} \times \cdots,

then the number of divisors is

d(n)=(a+1)(b+1)(c+1)d(n) = (a+1)(b+1)(c+1)\cdots

The idea: when building a divisor, the prime pp can appear 0,1,2,,0, 1, 2, \dots, or aa times --- that is a+1a+1 independent choices. Multiplying the choices for each prime counts every divisor exactly once.

Example
How many divisors does 360 have?

First factor into primes:

360=8×45=23×32×5.360 = 8 \times 45 = 2^3 \times 3^2 \times 5.

The exponents are 3,2,3, 2, and 11. Add one to each and multiply:

d(360)=(3+1)(2+1)(1+1)=4×3×2=24.d(360) = (3+1)(2+1)(1+1) = 4 \times 3 \times 2 = 24.

So 360360 has exactly 24\boxed{24} divisors --- far quicker than hunting for all 2424 factor pairs by hand.

Tip

A number is a perfect square exactly when every exponent in its prime factorization is even --- which forces every (a+1)(a+1) to be odd, so d(n)d(n) is odd. In fact, perfect squares are the only numbers with an odd number of divisors, because the “middle” pair n×n\sqrt{n} \times \sqrt{n} is counted just once.

Concept
The Sum of All Divisors

You can also add up all the divisors straight from the prime factorization. For each prime power, sum the powers from p0p^0 up to pap^a, then multiply those sums together:

σ(n)=(1+p++pa)(1+q++qb)\sigma(n) = \bigl(1 + p + \cdots + p^{a}\bigr)\bigl(1 + q + \cdots + q^{b}\bigr)\cdots

Multiplying the parentheses out reproduces every divisor of nn exactly once, so their grand total falls out automatically.

Example
Adding up the divisors of 360

Using 360=23×32×5360 = 2^3 \times 3^2 \times 5, sum each prime's powers separately:

20+21+22+23=1+2+4+8=15,30+31+32=1+3+9=13,50+51=1+5=6.\begin{aligned} 2^0 + 2^1 + 2^2 + 2^3 &= 1 + 2 + 4 + 8 = 15, \\ 3^0 + 3^1 + 3^2 &= 1 + 3 + 9 = 13, \\ 5^0 + 5^1 &= 1 + 5 = 6. \end{aligned}

Multiply the three totals:

σ(360)=15×13×6=1170.\sigma(360) = 15 \times 13 \times 6 = 1170.

All 2424 divisors of 360360 add up to 1170\boxed{1170}.

Concept
The GCF--LCM Product Theorem

For any two whole numbers aa and bb, the greatest common factor and least common multiple are locked together by

GCF(a,b)×LCM(a,b)=a×b.\text{GCF}(a,b) \times \text{LCM}(a,b) = a \times b.

This makes finding the LCM effortless once you know the GCF (or vice versa): just rearrange.

LCM(a,b)=a×bGCF(a,b).\text{LCM}(a,b) = \frac{a \times b}{\text{GCF}(a,b)}.

Why it works: for each prime, the GCF takes the smaller exponent and the LCM takes the larger one --- together they use up exactly the two exponents that appear in aa and bb.

Example
Using the theorem on 18 and 24

We have GCF(18,24)=6\text{GCF}(18, 24) = 6. Instead of listing multiples, use the theorem:

LCM(18,24)=18×246=4326=72.\text{LCM}(18, 24) = \frac{18 \times 24}{6} = \frac{432}{6} = 72.

Check: 18=2×3218 = 2 \times 3^2 and 24=23×324 = 2^3 \times 3, so the LCM is 23×32=72.2^3 \times 3^2 = 72.

Concept
The Euclidean Algorithm

For large numbers, factoring can be slow. The Euclidean algorithm finds the GCF using only repeated division with remainder. Repeatedly replace the larger number by the remainder when it is divided by the smaller:

GCF(a,b)=GCF(b, amodb),\text{GCF}(a, b) = \text{GCF}(b, \ a \bmod b),

and stop when the remainder hits 00. The last nonzero remainder is the GCF. It works because any common factor of aa and bb is also a factor of their remainder.

Example
Euclidean algorithm for GCF(252, 105)

Divide, keep the remainder, repeat:

252=2×105+42,105=2×42+21,42=2×21+0.\begin{aligned} 252 &= 2 \times 105 + 42, \\ 105 &= 2 \times 42 + 21, \\ 42 &= 2 \times 21 + 0. \end{aligned}

The last nonzero remainder is 21\boxed{21}, so GCF(252,105)=21\text{GCF}(252, 105) = 21. Check: 252=21×12252 = 21 \times 12 and 105=21×5105 = 21 \times 5. ✓

Concept
Perfect, Abundant, and Deficient Numbers

Compare a number to the sum of its proper divisors (all its divisors except itself):

  • Perfect: the proper divisors add up to the number exactly. The smallest is 6=1+2+36 = 1 + 2 + 3; the next is 28=1+2+4+7+1428 = 1 + 2 + 4 + 7 + 14.
  • Abundant: the proper divisors sum to more than the number. Example: 1212, since 1+2+3+4+6=16>121 + 2 + 3 + 4 + 6 = 16 > 12.
  • Deficient: the proper divisors sum to less than the number. Example: 1010, since 1+2+5=8<101 + 2 + 5 = 8 < 10. Every prime is deficient (its only proper divisor is 11).
Tip

Two numbers are relatively prime (or coprime) when their only common factor is 11, i.e. GCF=1\text{GCF} = 1. They need not be prime themselves: 88 and 99 are relatively prime because 8=238 = 2^3 and 9=329 = 3^2 share no primes. When two numbers are coprime, their LCM is simply their product, since GCF×LCM=a×b\text{GCF} \times \text{LCM} = a \times b becomes 1×LCM=a×b1 \times \text{LCM} = a \times b.

Formulas, Proofs & Tips

Tip
GCF and LCM are linked
gcd(a,b)lcm(a,b)=ab\gcd(a,b)\cdot \operatorname{lcm}(a,b) = a\,b

What it means. Once you know the greatest common factor, the least common multiple is free.

Example. gcd(12,18)=6\gcd(12,18)=6, so lcm(12,18)=12186=36\operatorname{lcm}(12,18)=\dfrac{12\cdot 18}{6}=36.

Why it works. Write each number as a product of primes. For each prime, gcd\gcd takes the smaller exponent and lcm\operatorname{lcm} takes the larger. Smaller ++ larger == the two exponents added, which is exactly the exponent in abab.

Tip. Find the (easier) gcd\gcd first, then use lcm(a,b)=abgcd(a,b)\operatorname{lcm}(a,b)=\tfrac{ab}{\gcd(a,b)}.