Prime vs composite
| Prime | Composite | |
|---|---|---|
| Divisors | Exactly 2 (1 and itself) | 3 or more |
| Examples | 2, 3, 5, 7, 11 | 4, 6, 8, 9, 10 |
| Can be split as a × b with a, b > 1 | No | Yes |
0 and 1 are neither. Every composite number can be written as a product of primes, its prime factorization. For example 84 = 2² × 3 × 7.
Composite numbers from 1 to 100
4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100
Each number links to its prime factorization, worked step by step with a factor tree.
That's 74 composite numbers. The primes in the same range are on the prime numbers 1 to 100 chart.
Prime factorization of common numbers
| Number | Prime factorization |
|---|---|
| Prime factorization of 12 | 2² × 3 |
| Prime factorization of 16 | 2⁴ |
| Prime factorization of 18 | 2 × 3² |
| Prime factorization of 24 | 2³ × 3 |
| Prime factorization of 30 | 2 × 3 × 5 |
| Prime factorization of 36 | 2² × 3² |
| Prime factorization of 40 | 2³ × 5 |
| Prime factorization of 48 | 2⁴ × 3 |
| Prime factorization of 56 | 2³ × 7 |
| Prime factorization of 60 | 2² × 3 × 5 |
| Prime factorization of 72 | 2³ × 3² |
| Prime factorization of 84 | 2² × 3 × 7 |
| Prime factorization of 96 | 2⁵ × 3 |
| Prime factorization of 100 | 2² × 5² |
| Prime factorization of 120 | 2³ × 3 × 5 |
| Prime factorization of 144 | 2⁴ × 3² |
| Prime factorization of 180 | 2² × 3² × 5 |
| Prime factorization of 360 | 2³ × 3² × 5 |
| Prime factorization of 1000 | 2³ × 5³ |
Odd composite numbers
Not every odd number is prime. The odd composites below 50 are 9, 15, 21, 25, 27, 33, 35, 39, 45 and 49, and they're easy to mistake for primes on tests. The quickest checks are the divisibility rules for 3, 5 and 7.