137k views
1 vote
How to tell if a number is prime or composite

User Jiawei
by
7.4k points

2 Answers

6 votes
Prime numbers only have two factors, 1 and itself, and composite numbers have multiple factors.
User Simurg
by
8.5k points
4 votes
A prime number has only two factors: 1 and itself. Acomposite number has more than two factors. Thenumber 1 is neither prime nor composite. The prime numbers between 2 and 31 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 and 31 since each of these numbers has only two factors, itself and 1.
User Kyle Shrader
by
8.1k points