If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Prime and composite numbers review

Review prime and composite numbers, and try some practice problems.

What are prime numbers?

Prime numbers are numbers with exactly 2 factors.
A prime number's only factors are 1 and the number itself.
7 is an example of a prime number. Its only factors are 1 and 7. It is not evenly divisible by any other whole numbers.
Want to learn more about prime numbers? Check out this video.

Practice set 1: Identifying prime numbers

Problem 1A
Which of these numbers is prime?
12, 42, 61, 87, 95
Choose 1 answer:

Want to try more problems like this? Check out this exercise.

What are composite numbers?

Composite numbers have more than 2 factors. A composite number has factors in addition to 1 and the number itself.
16 is an example of a composite number. The factors of 16 are 1,2,4,8 and 16. All of these numbers divide into 16 evenly.
Want to learn more about recognizing prime and composite numbers? Check out this video.
Want more ways to think about prime and composite numbers? Check out this article.

Practice set 2: Identifying composite numbers

Problem 2A
Which of these numbers is composite?
29, 41, 47, 82, 89
Choose 1 answer:

Want to try more problems like this? Check out this exercise.

Want to join the conversation?