• Foundation
  • About 12 min
  • 5 practice questions

Types of numbers and how to tell them apart

Learn the families of numbers - natural, whole, integers, rational, prime and composite - and classify any number you meet.

If something looks wrong, please tell us.

Almost every aptitude question starts with numbers, and many questions are really asking you to recognise what kind of number you are dealing with. Once the families are clear, rules for divisibility, factors and remainders become much easier. This lesson starts from zero and builds the vocabulary used in the rest of the course.

The main families

  • Natural numbers: the counting numbers 1, 2, 3, 4, ...
  • Whole numbers: natural numbers together with 0, so 0, 1, 2, 3, ...
  • Integers: whole numbers and their negatives, ... -3, -2, -1, 0, 1, 2, 3, ...
  • Rational numbers: any number that can be written as a fraction p/q with q not zero, such as 3/4, -5/2 or 7 (which is 7/1).
  • Irrational numbers: numbers that cannot be written as such a fraction, for example the square root of 2.

Every natural number is a whole number, every whole number is an integer, and every integer is a rational number. Think of them as boxes sitting inside bigger boxes.

Boxes inside bigger boxes

  1. Natural numbers The counting numbers 1, 2, 3, 4, ...
  2. Whole numbers Natural numbers together with 0.
  3. Integers Whole numbers and their negatives.
  4. Rational numbers Any number that can be written as p/q with q not zero.
Each family sits inside the next one.

Even, odd, prime and composite

An even number is divisible by 2 (0, 2, 4, 6, ...); an odd number is not. A prime number has exactly two factors: 1 and itself. A composite number has more than two factors. The number 1 is neither prime nor composite, and 2 is the only even prime.

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).
Quick classification
NumberFactorsType
11Neither prime nor composite
21, 2Prime (the only even prime)
91, 3, 9Composite
131, 13Prime
151, 3, 5, 15Composite

Worked example 1: is 91 prime?

Many students think 91 is prime because it is not divisible by 2, 3 or 5. Try 7: 7 × 13 = 91. So 91 has factors 1, 7, 13 and 91, and it is composite. To test a number, divide it by primes only up to its square root; for 91 that means checking 2, 3, 5 and 7 (since 10 × 10 = 100 is just above 91).

Worked example 2: classify -3, 0, 5/2 and 7

  • -3 is an integer and rational, but not a whole or natural number.
  • 0 is a whole number, an integer and rational, but not natural.
  • 5/2 is rational only (it is not an integer).
  • 7 is natural, whole, integer, rational and prime.

Prime = exactly two factors (1 and itself). 1 is not prime. 2 is the only even prime.

— Remember

Key takeaways

  • 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.

Check your understanding

  1. 1. Which is the smallest natural number?

    1. 0
    2. 1
    3. -1
    4. 2
    Show answer

    Answer: B. Natural numbers are the counting numbers 1, 2, 3, ... so the smallest is 1. Zero is a whole number but not a natural number, and -1 is an integer but not a whole or natural number.

  2. 2. How many prime numbers are there between 1 and 20?

    1. 6
    2. 7
    3. 8
    4. 9
    Show answer

    Answer: C. They are 2, 3, 5, 7, 11, 13, 17 and 19 - eight primes. Remember 1 is not prime, and 9 and 15 are composite.

  3. 3. How would you classify 5/2?

    1. A rational number but not an integer
    2. An integer
    3. A whole number
    4. A natural number
    Show answer

    Answer: A. 5/2 = 2.5 is written as p/q with q not zero, so it is rational. It is not a whole count, so it is not an integer, and therefore not a whole or natural number either.

  4. 4. Which statement is true?

    1. 1 is the smallest prime
    2. 2 is the only even prime
    3. 2 is a composite number
    4. 1 is a composite number
    Show answer

    Answer: B. 2 has exactly two factors (1 and 2), so it is prime, and every other even number is divisible by 2 as well, so it has more than two factors. 1 has only one factor, so it is neither prime nor composite.

  5. 5. Which of these numbers is NOT prime?

    1. 97
    2. 101
    3. 113
    4. 119
    Show answer

    Answer: D. 119 = 7 × 17, so it is composite. To test the others, divide only by primes up to the square root - 2, 3, 5 and 7, since 11 × 11 = 121 is already larger than each of them. None of these divides 97, 101 or 113, so they are prime.

Sign in to keep track of the lessons you finish.

Next lesson → Divisibility rules for quick checking

Privacy · Terms · Refunds · Delivery