Boxes inside bigger boxes
- Natural numbers The counting numbers 1, 2, 3, 4, ...
- Whole numbers Natural numbers together with 0.
- Integers Whole numbers and their negatives.
- Rational numbers Any number that can be written as p/q with q not zero.
Sorting numbers by their factors
- Exactly one factor 1 is neither prime nor composite.
- Exactly two factors: prime 1 and itself, such as 2 and 13. 2 is the only even prime.
- More than two factors: composite Such as 9 (1, 3, 9) and 15 (1, 3, 5, 15).
| Number | Factors | Type |
|---|---|---|
| 1 | 1 | Neither prime nor composite |
| 2 | 1, 2 | Prime (the only even prime) |
| 9 | 1, 3, 9 | Composite |
| 13 | 1, 13 | Prime |
| 15 | 1, 3, 5, 15 | Composite |
Prime = exactly two factors (1 and itself). 1 is not prime. 2 is the only even prime.
- Natural, whole, integer and rational numbers nest inside each other.
- A prime has exactly two factors; 1 is not prime.
- To test primality, divide only by primes up to the square root.