Facebook Pixel
Mathos AI logo

Prime and Composite Numbers

Prime and Composite Numbers

To understand prime and composite numbers, we first need to know about factors. Factors are the numbers you multiply together to get another number. For example, 22 and 33 are factors of 66 because 2×3=62 \times 3 = 6. The numbers 11 and 66 are also factors of 66 because 1×6=61 \times 6 = 6.

Based on how many factors a number has, we can sort whole numbers into two main categories: prime and composite.

Prime Numbers

A prime number is a whole number greater than 11 that has exactly two factors: 11 and the number itself.

If a number is prime, the only way to make it by multiplying two whole numbers is to multiply 11 by the number itself.

  • Example: 77 is a prime number. The only factors of 77 are 11 and 77 (1×7=71 \times 7 = 7).
  • Example: 1313 is a prime number. Its only factors are 11 and 1313.

Fun Fact: 22 is the smallest prime number, and it is the only even prime number! Every other even number can be divided by 22, which gives it more than two factors.

Composite Numbers

A composite number is a whole number that has more than two factors.

If a number is composite, you can arrange it into different rectangular arrays. It can be divided evenly by numbers other than 11 and itself.

  • Example: 88 is a composite number. Its factors are 1,2,4,1, 2, 4, and 88 (because 1×8=81 \times 8 = 8 and 2×4=82 \times 4 = 8).
  • Example: 1515 is a composite number. Its factors are 1,3,5,1, 3, 5, and 1515.

The Special Number: 1

What about the number 11? The number 11 only has one factor: itself. Because it does not have exactly two factors, and it does not have more than two factors, the number 11 is neither prime nor composite.

Example Problems

Let's apply what we've learned to some examples.

Is 29 prime or composite?

Let's look for the factors of 2929. Are there any numbers besides 11 and 2929 that multiply together to make 2929? It cannot be divided evenly by 2,3,4,5,2, 3, 4, 5, or any other number. The only factors are 11 and 2929. Answer: 2929 is prime.

Is 51 prime or composite?

Let's find the factors of 5151. We know 1×51=511 \times 51 = 51. Are there any others? If we use the divisibility rule for 33 (add the digits: 5+1=65 + 1 = 6, which is divisible by 33), we know 33 goes into 5151. 3×17=513 \times 17 = 51. The factors of 5151 are 1,3,17,1, 3, 17, and 5151. Since it has more than two factors, it is composite. Answer: 5151 is composite.

List all prime numbers less than 20

Let's count up from 22 and check each number:

  • 22 (Prime: 1,21, 2)
  • 33 (Prime: 1,31, 3)
  • 44 (Composite: 1,2,41, 2, 4)
  • 55 (Prime: 1,51, 5)
  • 66 (Composite: 1,2,3,61, 2, 3, 6)
  • 77 (Prime: 1,71, 7)
  • 8,9,108, 9, 10 (Composite)
  • 1111 (Prime: 1,111, 11)
  • 1212 (Composite)
  • 1313 (Prime: 1,131, 13)
  • 14,15,1614, 15, 16 (Composite)
  • 1717 (Prime: 1,171, 17)
  • 1818 (Composite)
  • 1919 (Prime: 1,191, 19)

Answer: The prime numbers less than 2020 are: 2,3,5,7,11,13,17,2, 3, 5, 7, 11, 13, 17, and 1919.