Prime and Composite Numbers
Learn to identify prime numbers (divisible only by 1 and themselves) and composite numbers (having more than two factors).
Definition
A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself.
A composite number is a whole number greater than 1 that has more than two factors.
Examples:
- is prime because its only factors are and
- is composite because its factors are
Special case: The number is neither prime nor composite. It has only one factor (itself).
Try it now
Which of these numbers is prime?
Interactive Visual
Factor Tree
Number:
Composite
Prime
Enter a number to see its factor tree and prime factorization.
to
Click on numbers to select them. Adjust the range to explore different values.
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
15 problemsProblem 1 of 15
Easy
Which of these numbers is prime?
Glossary
- Prime number
- A whole number greater than with exactly two factors: and itself
- Composite number
- A whole number greater than with more than two factors
- Factor
- A number that divides evenly into another number
- Divisible
- A number is divisible by another if the division results in a whole number with no remainder