Factors, Multiples and Primes
Find factors and multiples, recognize prime numbers, write prime factorizations, and use them to get the GCF and LCM of two numbers.
Welcome back!
Step 1 of 13Learn
Hot dogs and buns
Hot dogs often come in packs of 10, and buns in packs of 8. What is the smallest number of hot dogs you can buy so that every hot dog gets exactly one bun, with nothing left over? You need a number that both 10 and 8 divide into evenly. Counting up by 10s (10, 20, 30, 40) and by 8s (8, 16, 24, 32, 40), the first match is 40: 4 packs of hot dogs and 5 packs of buns.
That number is the least common multiple (LCM) of 8 and 10. Questions like this, along with simplifying fractions, rely on two ideas:
- A factor of a number divides it evenly. The factors of 12 are 1, 2, 3, 4, 6 and 12.
- A multiple of a number is that number times a whole number. The multiples of 12 are 12, 24, 36, 48, and so on forever.
Factors are finite and never bigger than the number; multiples are infinite and never smaller (except 0, which we skip).
Quick divisibility tests help you find factors fast:
- By 2: the last digit is even.
- By 3: the digit sum is divisible by 3 (for 471, 4 + 7 + 1 = 12, so yes).
- By 5: the last digit is 0 or 5.
- By 9: the digit sum is divisible by 9.
- By 10: the last digit is 0.
Step 2 of 13Practice · Diagram
Multiples of 8 and of 10
Listing multiples of each pack size (buns come in 8s, hot dogs in 10s), the overlap shows the counts that work for both.
Which region holds the smallest number that matches both packs?
Tap the shape that answers the question, then press Check.
- Buns (8s)
- Hot dogs (10s)
- Buns (8s) only
- 8
- 16
- 24
- 32
- Buns (8s) + Hot dogs (10s) (overlap)
Common multiples. The smallest, 40, is the LCM.
- 40
- 80
- Hot dogs (10s) only
- 10
- 20
- 30
- 50
Step 3 of 13Practice · Select all that apply
Select all numbers that 3 divides evenly into.
Select all that apply.
Step 4 of 13Learn
Prime numbers and factor trees
A prime number has exactly two factors: 1 and itself. The first few are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29. A number with more than two factors, like 12, is composite. The number 1 is neither prime nor composite, since it has only one factor. And 2 is the only even prime; every other even number is divisible by 2.
Every composite number can be written as a product of primes in exactly one way (apart from order). This is its prime factorization, and a factor tree finds it:
60 splits into 6 × 10. Then 6 splits into 2 × 3, and 10 splits into 2 × 5. The leaves are all prime, so 60 = 2 × 2 × 3 × 5 = 22 × 3 × 5.
You could start with 4 × 15 or 2 × 30 instead; you'll always reach the same primes. That uniqueness is so important it has a name, the Fundamental Theorem of Arithmetic.
To test whether a number is prime, try dividing by primes up to its square root. For 91, √91 is under 10, so try 2, 3, 5, 7. Since 91 = 7 × 13, it is not prime, even though it looks like it might be.
Step 5 of 13Diagram
A factor tree for 60
Keep splitting until every branch ends in a prime. Then 60 = 2 × 2 × 3 × 5.
- 60
- 6
- 10
- 2 (prime)
- 3 (prime)
- 2 (prime)
- 5 (prime)
Step 6 of 13Practice · Sort into groups
Sort each number as prime or composite.
Tap an item, then tap its group (or drag it there).
Step 7 of 13Learn
GCF and LCM from prime factors
The greatest common factor (GCF) is the largest number that divides two numbers evenly. The least common multiple (LCM) is the smallest number both divide into. Prime factorizations make both easy.
Take 24 and 36:
- 24 = 2 × 2 × 2 × 3 = 23 × 3
- 36 = 2 × 2 × 3 × 3 = 22 × 32
GCF: take the primes they share, using the smaller power of each: 22 × 3 = 12. LCM: take every prime that appears, using the larger power of each: 23 × 32 = 72.
Check: 12 divides both 24 and 36, and 72 is a multiple of both.
When do you use which?
- GCF answers "split into the largest equal groups" questions and simplifies fractions: 24/36 = (24 ÷ 12)/(36 ÷ 12) = 2/3.
- LCM answers "when do things line up again" questions and gives common denominators: to add 1/24 + 1/36, use 72.
A neat fact for two numbers: GCF × LCM = the product of the numbers. Here 12 × 72 = 864 = 24 × 36.
Step 8 of 13Practice · Diagram
GCF and LCM of 24 and 36
24 = 2 × 2 × 2 × 3 and 36 = 2 × 2 × 3 × 3. Shared primes go in the middle.
Which region multiplies to the GCF?
Tap the shape that answers the question, then press Check.
- Primes of 24
- Primes of 36
- Primes of 24 only
- 2
- Primes of 24 + Primes of 36 (overlap)
Multiply the shared primes: 2 × 2 × 3 = 12, the GCF.
- 2
- 2
- 3
- Primes of 36 only
- 3
Step 9 of 13Practice · Work it out
What is the GCF of 48 and 180?
Step 10 of 13Note
Step 11 of 13Practice · What would you do?
What would you do?
One bus leaves the station every 12 minutes and another every 18 minutes. Both just left at 8:00 a.m. When will they next leave together?
Step 12 of 13Practice · Choose one
Which is the prime factorization of 84?
Step 13 of 13Practice · Work it out
What is the LCM of 8 and 10, the smallest number of hot dogs that matches packs of 10 with buns in packs of 8?
Lesson complete!