Prime Numbers Worksheets

Free printable prime numbers worksheets for grades 4-6. Practice identifying primes, prime factorization, and factor trees with customizable ranges. Print instantly.

Settings

Prime Numbers Practice

Name: ___________________ Date: ___________________

What Are Prime Numbers?

A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself. In other words, a prime number cannot be divided evenly by any number other than 1 and the number itself. The number 7 is prime because its only factors are 1 and 7. The number 12 is not prime because it can be divided by 1, 2, 3, 4, 6, and 12. Numbers that have more than two factors are called composite numbers.

Prime numbers are the building blocks of all whole numbers. Every whole number greater than 1 is either prime or can be expressed as a unique product of prime numbers. This fundamental principle, known as the Fundamental Theorem of Arithmetic, makes prime numbers one of the most important concepts in mathematics. These free printable prime numbers worksheets help students practice identifying primes, finding the next prime after a given number, and breaking composite numbers into their prime factors.

The First Prime Numbers

The prime numbers less than 50 are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, and 47. Notice that 2 is the only even prime number, because every other even number is divisible by 2. The number 1 is not considered prime because it has only one factor (itself), not two distinct factors.

Continuing to 100, the additional primes are: 53, 59, 61, 67, 71, 73, 79, 83, 89, and 97. There are exactly 25 prime numbers between 1 and 100. As numbers get larger, primes become less frequent, but mathematicians have proven that there are infinitely many prime numbers. There is no largest prime.

The Sieve of Eratosthenes

The Sieve of Eratosthenes is an ancient and elegant method for finding all prime numbers up to a given limit. Named after the Greek mathematician Eratosthenes of Cyrene (around 200 BC), this algorithm works by systematically eliminating composite numbers. Here is how it works:

  1. Write all numbers from 2 to your limit (for example, 2 through 50).
  2. Start with the first number (2). Circle it as prime, then cross out every multiple of 2 (4, 6, 8, 10, ...).
  3. Move to the next uncrossed number (3). Circle it as prime, then cross out every multiple of 3 that has not already been crossed out (9, 15, 21, ...).
  4. Move to the next uncrossed number (5). Circle it and cross out its remaining multiples (25, 35, ...).
  5. Continue this process. Each uncrossed number you encounter is prime. Cross out its multiples.
  6. Stop when you have passed the square root of your limit. For numbers up to 50, you only need to sieve with primes up to 7 (since 7² = 49).

All remaining uncrossed numbers are prime. This method is remarkably efficient and is an excellent classroom activity for building understanding of prime numbers and their distribution.

How to Test If a Number Is Prime

To determine whether a specific number is prime, you can use trial division. Try dividing the number by each prime number starting from 2, up to the square root of the number. If none of these primes divides the number evenly, it is prime.

Example: Is 67 prime?

Since no prime up to the square root divides 67 evenly, 67 is prime.

Finding the Next Prime Number

A valuable skill closely related to prime identification is finding the next prime after a given number. This exercise reinforces both the concept of primality and the distribution of primes among whole numbers. To find the next prime after a number n, start checking n + 1, n + 2, n + 3, and so on, testing each for primality until you find one that is prime.

Example: What is the next prime after 30? Check 31: it is not divisible by 2, 3, or 5 (and 5 × 5 = 25 < 31 < 36 = 6 × 6). So 31 is prime, and the next prime after 30 is 31.

Example: What is the next prime after 50? Check 51: 51 ÷ 3 = 17, so 51 is composite. Check 52: even. Check 53: not divisible by 2, 3, 5, or 7 (since 7 × 7 = 49 < 53). So the next prime after 50 is 53.

Students discover through this exercise that prime gaps (the distance between consecutive primes) vary. Sometimes primes are close together (twin primes like 11 and 13, or 29 and 31), and sometimes there are longer stretches without any primes at all.

Prime Factorization and Factor Trees

Prime factorization is the process of expressing a composite number as a product of prime numbers. Every composite number has a unique prime factorization, which is what makes primes the "atoms" of arithmetic.

Example: Find the prime factorization of 60.

The prime factorization of 60 is 2 × 2 × 3 × 5, which can also be written as 2² × 3 × 5.

A factor tree is a visual way to find the prime factorization. Start by writing the number at the top. Split it into any two factors. Continue splitting each factor until all branches end in prime numbers. No matter which factors you choose at each step, you will always arrive at the same set of prime factors.

Example factor tree for 24:

Grade-Level Guide

Fourth Grade (Ages 9-10)

Fourth graders are introduced to factors and multiples for the first time. They learn to identify whether a number is prime or composite by finding all its factor pairs. Start with the "Identify Primes" problem type and the 1-50 range. Keep data sets small and use numbers that are easy to check mentally. At this level, focus on building familiarity with the first 15 prime numbers.

Fifth Grade (Ages 10-11)

Fifth graders extend their work to prime factorization. They learn to use factor trees and repeated division to break numbers into prime factors. Use the "Prime Factorization" type with the 1-100 range. Students should be able to express their answers using multiplication (e.g., 36 = 2 × 2 × 3 × 3) and begin using exponent notation (2² × 3²). The "Find Next Prime" mode is also excellent at this level because it reinforces quick mental divisibility checks.

Sixth Grade (Ages 11-12)

Sixth graders apply prime factorization to find GCF and LCM, which are essential for working with fractions. They work with numbers up to 200 and should be fluent with both factor trees and the division method. Use the "Mixed" problem type with the 1-200 range for a comprehensive challenge. Connect prime factorization to the GCF and LCM worksheets for integrated practice.

Common Mistakes to Avoid

Tips for Teaching Prime Numbers

How to Use These Worksheets

Select the number of problems, problem type, and number range using the settings above. Click "Generate New" for a fresh worksheet. For "Identify Primes" problems, students determine whether each number is prime or composite. For "Find Next Prime" problems, students are given a number and must find the next prime number that comes after it. For "Prime Factorization" problems, students write the complete prime factorization of each composite number. Use "Print" for a clean page and "Show Answers" to reveal solutions.

Related Worksheets