Skip to content
🎯⭐ INTERACTIVE LESSON

Prime and Composite Numbers

Learn step-by-step with interactive practice!

Prime and Composite Numbers - Complete Interactive Lesson

Part 1: Factors: The Building Blocks

🔢 Prime and Composite Numbers

Part 1 of 5 — Factors: The Building Blocks


Topics in This Part

Section
What Is a Factor?
Finding All the Factors of a Number
Factor Pairs

🔑 Key Concept: A factor is a whole number that divides another number evenly — with no remainder. Before we can sort numbers into "prime" and "composite," we first need to be experts at finding factors. That's Part 1.

What Is a Factor?

A factor of a number is a whole number that divides into it evenly — meaning the answer is a whole number and nothing is left over.

Think about 1212 cookies. You can share them into equal groups in several ways:

GroupsCookies in each groupMultiplication
11 group1212 each1×12=121 \times 12 = 12
22 groups66 each2×6=122 \times 6 = 12
33 groups44 each3×4=123 \times 4 = 12
44 groups33 each4×3=124 \times 3 = 12
66 groups22 each6×2=126 \times 2 = 12
1212 groups11 each12×1=1212 \times 1 = 12

Every number that fits perfectly is a factor. So the factors of 1212 are:

1,  2,  3,  4,  6,  121,\; 2,\; 3,\; 4,\; 6,\; 12

💡 Quick test: A number is a factor if you can divide and get no remainder. 12÷5=212 \div 5 = 2 remainder 22, so 55 is not a factor of 1212.

Concept Check 🎯

Finding ALL the Factors

To list every factor of a number, work in pairs. Start at 11 and climb upward, checking each number to see if it divides evenly. Each time it does, you find two factors at once — a factor pair.

Worked Example: Factors of 1818

TryDivides evenly?Factor pair
1118÷1=1818 \div 1 = 18 ✓11 and 1818
2218÷2=918 \div 2 = 9 ✓22 and 99
3318÷3=618 \div 3 = 6 ✓33 and 66
4418÷4=418 \div 4 = 4 r 22 ✗—
5518÷5=318 \div 5 = 3 r 33 ✗—

Once the pairs start to "meet in the middle," you can stop. The factors of 1818 are:

1,  2,  3,  6,  9,  181,\; 2,\; 3,\; 6,\; 9,\; 18

💡 Stay organized: Listing factors smallest-to-largest means you will never miss one. Every factor pair multiplies back to the original number.

Count the Factors 🧮

For each number, find how many factors it has in total. (List them in your head smallest to largest, then count.)

1) How many factors does 1010 have? 2) How many factors does 77 have? 3) How many factors does 1616 have?

Complete the Factor Pair 🧮

Each pair of factors multiplies to make the target number. Fill in the missing partner.

1) A factor pair of 2424 is 33 and ?? 2) A factor pair of 3636 is 44 and ?? 3) A factor pair of 3030 is 66 and ??

Part 2: Prime vs. Composite

🔢 Prime and Composite Numbers

Part 2 of 5 — Prime vs. Composite


🔑 The Big Idea: Now that you can find factors, you can sort whole numbers into two families. The secret is simple: how many factors does the number have?

The Two Families

We sort whole numbers (greater than 11) by counting their factors:

TypeNumber of factorsMeaning
Primeexactly 22only 11 and itself
Compositemore than 22extra factors besides 11 and itself

Prime Numbers

A prime number has exactly two factors: 11 and the number itself.

  • 77 is prime → factors are just 11 and 77.
  • 1313 is prime → factors are just 11 and 1313.

Composite Numbers

A composite number has more than two factors.

  • 1212 is composite → factors 1,2,3,4,6,121, 2, 3, 4, 6, 12 (that's 66 factors).
  • 99 is composite → factors 1,3,91, 3, 9 (that's 33 factors).

🔑 The rule in one line: Count the factors. Exactly two means prime. Three or more means composite.

Concept Check 🎯

The Two Tricky Numbers: 11 and 22

These two numbers confuse a lot of students. Learn them now.

The Number 11 — Neither Prime nor Composite

The number 11 has only one factor — just itself, 11.

  • It does not have exactly two factors, so it is not prime.
  • It does not have more than two factors, so it is not composite.

1 is neither prime nor composite.\boxed{1 \text{ is neither prime nor composite.}}

The Number 22 — The Only Even Prime

The number 22 has exactly two factors: 11 and 22. That makes it prime.

It is the only even prime number. Every other even number (like 4,6,8,…4, 6, 8, \dots) can be divided by 22, giving it an extra factor — so all other even numbers are composite.

⚠️ Remember these two facts: 11 is neither prime nor composite, and 22 is the only even prime.

Sort Each Number 🔽

Decide whether each number is prime, composite, or neither.

Spot the Prime 🎯

Part 3: Divisibility Rules: Fast Tests

🔢 Prime and Composite Numbers

Part 3 of 5 — Divisibility Rules: Fast Tests


🔑 Why this helps: Instead of slowly dividing, divisibility rules let you tell at a glance whether a number has a small factor. If it has any factor besides 11 and itself, it must be composite.

The Divisibility Rules

These quick tests tell you whether a number divides evenly by 22, 33, 55, or 1010 — without doing the division.

Divisible byTestExample
22The number is even (ends in 0,2,4,6,80, 2, 4, 6, 8)4848 ends in 88 → yes
33The digits add up to a multiple of 3351→5+1=651 \to 5+1=6 → yes
55The number ends in 00 or 558585 ends in 55 → yes
1010The number ends in 009090 ends in 00 → yes

Worked Example: Is 7272 composite?

  • Ends in 22, so it's divisible by 22. ✓

Since 22 is a factor (besides 11 and 7272), the number 7272 has more than two factors — it is composite.

💡 The key link: If any small number divides evenly, you've found an extra factor — and that instantly makes the number composite.

Apply the Rules 🔽

Use the divisibility rules to answer each one.

How to Test if a Number Is Prime

To check whether a number is prime, try to divide it by the small primes in order: 2,3,5,7,…2, 3, 5, 7, \dots If none of them divide evenly, the number is prime.

Worked Example: Is 2929 prime?

  • Divisible by 22? No — 2929 is odd.
  • Divisible by 33? No — 2+9=112+9 = 11, not a multiple of 33.
  • Divisible by 55? No — doesn't end in 00 or 55.

No small number divides it, so 29 is prime.\boxed{29 \text{ is prime.}}

Worked Example: Is 5151 prime?

  • Divisible by 33? 5+1=65 + 1 = 6, which is a multiple of 33. ✓

So 51=3×1751 = 3 \times 17. It has an extra factor, which means 51 is composite.\boxed{51 \text{ is composite.}}

⚠️ Watch out for "fake primes." Numbers like 5151, 5757, 9191, and 8787 look prime but secretly have a factor of 33 or 77. Always run the divisibility tests!

Concept Check 🎯

Prime or Composite? 🧮

For each number, type P if it is prime or C if it is composite.

1) 1919 2) 3939 3) 22

Part 4: Prime Factorization & Factor Trees

🔢 Prime and Composite Numbers

Part 4 of 5 — Prime Factorization & Factor Trees


🔑 Big Payoff: Every composite number can be broken down into a unique set of prime building blocks. Writing a number as a product of primes is called its prime factorization.

Building a Factor Tree

A factor tree breaks a number down step by step until only primes are left.

Worked Example: Prime factorization of 3636

Split 3636 into any factor pair, then keep splitting until every "leaf" is prime:

36=4×936 = 4 \times 9 4=2×29=3×34 = 2 \times 2 \qquad 9 = 3 \times 3

The leaves at the bottom are 2,2,3,32, 2, 3, 3 — all primes. So:

36=2×2×3×336 = 2 \times 2 \times 3 \times 3

Using exponents, we write this neatly as:

36=22×3236 = 2^2 \times 3^2

💡 Same answer every time: It doesn't matter which factor pair you start with. Starting 36=6×636 = 6 \times 6 gives the exact same primes: 2×2×3×32 \times 2 \times 3 \times 3. This is called unique prime factorization.

Worked Example: Prime factorization of 6060

60=6×1060 = 6 \times 10 6=2×310=2×56 = 2 \times 3 \qquad 10 = 2 \times 5

The prime leaves are 2,3,2,52, 3, 2, 5. Writing them smallest to largest:

60=2×2×3×5=22×3×560 = 2 \times 2 \times 3 \times 5 = 2^2 \times 3 \times 5

✅ Check: 2×2×3×5=4×15=602 \times 2 \times 3 \times 5 = 4 \times 15 = 60 ✓

🔑 Tip: A factor tree is finished only when every number at the bottom is prime. If you can still split a number, keep going!

Finish the Factor Tree 🔽

You are finding the prime factorization of 2424. Choose what happens at each step.

Count the Prime Factors 🧮

Build a factor tree, then count how many prime numbers are at the bottom (count repeats).

1) In 22×322^2 \times 3^2 (which is 3636), how many prime factors are there in total? 2) The prime factorization of 88 is 2×2×22 \times 2 \times 2. How many prime factors? 3) The prime factorization of 3030 is 2×3×52 \times 3 \times 5. How many prime factors?

Fill In the Factorization 🧮

Each number's prime factorization is started for you. Find the missing prime.

1) 18=2×3×?18 = 2 \times 3 \times ? 2) 20=2×2×?20 = 2 \times 2 \times ? 3) 42=2×3×?42 = 2 \times 3 \times ?

Part 5: Mixed Practice & Mastery Check

🔢 Prime and Composite Numbers

Part 5 of 5 — Mixed Practice & Mastery Check


You can now (1) find all the factors of a number, (2) sort numbers into prime and composite, (3) use divisibility rules to test for primes, and (4) build a prime factorization. Let's put it all together.

Quick Reference

IdeaWhat to remember
Factordivides evenly, no remainder
Primeexactly 22 factors (11 and itself)
Compositemore than 22 factors
The number 11neither prime nor composite
The number 22the only even prime
Prime factorizationa number written as a product of primes

Primes to know by heart (under 5050):

2,  3,  5,  7,  11,  13,  17,  19,  23,  29,  31,  37,  41,  43,  472,\; 3,\; 5,\; 7,\; 11,\; 13,\; 17,\; 19,\; 23,\; 29,\; 31,\; 37,\; 41,\; 43,\; 47

⚠️ Don't forget: Being odd does not make a number prime (99, 1515, 2121, 2525 are all odd and composite), and the digit-sum test for 33 catches sneaky composites like 5151 and 5757.

Mixed Practice 🎯

Final Drill 🧮

1) How many factors does the prime number 1313 have? 2) The prime factorization of 100100 is 2×2×5×52 \times 2 \times 5 \times 5. Written with exponents it is 22×5?2^2 \times 5^? — what exponent goes on the 55? 3) What is the only even prime number?

Exit Quiz ✅

Answer all three to finish the lesson.