Prime Numbers and Composite Numbers

๐Ÿ†Practice prime numbers and composite numbers

Definitions of Prime Numbers and Composite Numbers

Prime number

A prime number is a natural number that is divisible only by itself and by 11.

Composite number

A composite number is a number that can be written as the product of two natural numbers smaller than it, with the exception of 11 and itself.

The number 11 โ€“> is a special number that is neither prime nor composite.
The number 22 โ€“> is the only even number that is prime.

Start practice

Test yourself on prime numbers and composite numbers!

einstein

Which of the numbers is a prime number?

Practice more now

What are prime numbers and composite numbers?

In this article, we will describe what exactly prime and composite numbers are; we will learn to identify them and get to know special numbers.


What is a prime number?

A prime number is a natural number divisible only by itself and by 11.
This means that, when we talk about a prime number, we cannot find any other two numbers besides itself and 11, that when multiplied together give us that number as a product.
For example: the number 33
33 is a prime number. It can be divided only by 33 and by 11.
Even if we want to write it as a multiplication, this will only be with the factors 11 and 33 and not with natural numbers smaller than it.

Another example: the number 1313
This number is divisible only by itself and by 11 and we cannot write it as the product of two natural numbers smaller than it, except for 11 and 1313.


Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today
Test your knowledge

What is a composite number?

A composite number is a number that can be written as the product of two natural numbers smaller than it, except for 11 and itself.
A composite number can be expressed as the product of itself and 11 clearly, but always with two other factors that do not equal 11.
For example: the number 88
88 is a composite number. It can be represented as the product of 44 and 22.
Another example: the number 66
66 is a composite number. 66 can be represented as the product of 33 and 22.

In summary
When you need to determine if a certain number is prime or composite, ask yourself:
Is said number divisible by other divisors besides itself and 11? Can we represent it as the product of natural numbers smaller than it, outside of 11 and the number itself?
If the answer is yes the number is composite
If the answer is no the number is prime

Valuable fact: Every even number is composite, except for 22.


Exercises on Prime or Composite Numbers

Determine if the following numbers are prime or composite:
The number 77
Solution: 77 is a prime number. It can only be represented as the product of 77 and 11.
The number 55
Solution: The number 55 is prime. It can only be represented with the natural numbers 11 and 55.
The number 2020
Solution: The number 2020 is composite. It can be represented as the product of 1010 and 22, or 44 and 55.
Pay attention โ€“> The number 2020 can also be represented as the product of 33 factors โ€“> 2โˆ—2โˆ—52*2*5
and, clearly, it is considered composite.


Do you know what the answer is?

Special Numbers

Now we are going to introduce you to some very special numbers! Numbers that might make you think more than once before you can determine if they are prime or composite:
The number 11 โ€“> Is neither prime nor composite.
The number 11 Is divisible only by 11 which, in fact, is itself. It can only be represented through the multiplication of 11 and 11, making it a number that is neither prime nor composite.
The number 22 โ€“> is prime.
22 can be divided only by itself and by 11 this makes it a prime number as dictated by its definition.
So why is it considered special?
All even numbers are composite except for 22! All even numbers are divisible by 22 and another number. But, when it itself is 22, that's another matter.


More exercises

Determine if the following numbers are prime or composite:
The number 3939
Solution: it is a composite number. It can be represented as the product of 1313 and 33.
The number 1717
Solution: it is a prime number. It is divisible only by 11 and itself.
The number 5757
Solution: it is a composite number. It can be represented as the product of 33 and 1919.

The number 1919
Solution: it is a prime number. It is divisible only by 11 and itself.


Examples and exercises with solutions of prime numbers and composite numbers

Exercise #1

Which of the numbers is a prime number?

Video Solution

Step-by-Step Solution

To solve this problem, we'll identify which of the given numbers is a prime number:

  • Step 1: Define a prime number as a positive integer greater than 1 that has no divisors other than 1 and itself.
  • Step 2: Examine each number and list its divisors.

Now, let's work through each step:

Step 1: Consider the numbers given: 99, 1111, 88, and 44.

Step 2:

  • 99 has divisors 1,3,91, 3, 9. Since it has more than two divisors, it is not a prime number.
  • 1111 has divisors 1,111, 11. Since it has exactly two divisors, it is a prime number.
  • 88 has divisors 1,2,4,81, 2, 4, 8. Since it has more than two divisors, it is not a prime number.
  • 44 has divisors 1,2,41, 2, 4. Since it has more than two divisors, it is not a prime number.

Therefore, the number that is a prime number is 1111.

Answer

11 11

Exercise #2

Is the number equal to n n prime or composite?

n=4 n=4

Video Solution

Step-by-Step Solution

To determine if the number n=4 n = 4 is prime or composite, we will follow these steps:

  • Step 1: Understand the definitions.
    A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. A composite number has additional divisors.
  • Step 2: Identify divisors of 4.
    We list out the divisors of 4, starting from 1: They are 1, 2, and 4.
  • Step 3: Analyze the divisors.
    The number 4 has more than two divisors: 1, 2, and 4. This means it can be divided by numbers other than 1 and itself.

Conclusion: Since 4 has divisors other than 1 and itself (specifically, it is divisible by 2), it is not a prime number. Therefore, 4 is classified as a composite number.

Therefore, the solution to the problem is Composite.

Answer

Composite

Exercise #3

Is the number equal to n n prime or composite?

n=7 n=7

Video Solution

Step-by-Step Solution

To determine whether the number n=7 n = 7 is prime or composite, we follow these steps:

  • Step 1: Acknowledge the definition of prime numbers. A prime number is any number greater than 1 that has no divisors other than 1 and itself.
  • Step 2: We begin by checking if the number 7 7 is greater than 1. Since 7>1 7 > 1 , it is eligible to be considered a prime number.
  • Step 3: We examine whether 7 7 has any divisors other than 1 and itself.
  • Step 4: For a number to be composite, it must have additional divisors apart from 1 and itself. Let's check the possible divisors.
  • Step 5: Since 7 is a small number, its divisors would be smaller than 7โ‰ˆ2.64 \sqrt{7} \approx 2.64 . The only whole number less than or equal to 2 not including 1 is 2.
  • Step 6: We check divisibility: 7 divided by 2 is not a whole number, confirming 7 is not divisible by any number other than 1 and itself.

Therefore, we conclude that the number n=7 n = 7 is indeed a Prime number.

Answer

Prime

Exercise #4

Is the number equal to n n prime or composite?

n=8 n=8

Video Solution

Step-by-Step Solution

To determine whether the number n=8 n = 8 is prime or composite, we will use the definitions of prime and composite numbers:

  • A prime number is a natural number greater than 1 that has no divisors other than 1 and itself.
  • A composite number is a natural number greater than 1 that has divisors other than 1 and itself.

Let's analyze n=8 n = 8 :

Step 1: Since 8 is greater than 1, it can be either prime or composite.

Step 2: List the divisors of 8. The divisors of 8 are 1, 2, 4, and 8.

Step 3: Verify if 8 has divisors other than 1 and itself. We see that 8 is divisible by 2 and 4, in addition to 1 and 8.

Since 8 has divisors other than 1 and itself, 8 is not a prime number.

Therefore, 8 is classified as a composite number.

Thus, the correct answer is composite.

Answer

Composite

Exercise #5

Is the number equal to n n prime or composite?

n=22 n=22

Video Solution

Step-by-Step Solution

To solve this problem, we'll determine whether n=22 n = 22 is a prime or composite number.

We follow these steps:

  • Step 1: List possible divisors of 22 22 other than 1 1 and 22 22 itself.
  • Step 2: Test 22 22 for divisibility by these numbers.
  • Step 3: Conclude based on the results.

Step 1: The numbers to consider are 2,3,4,5,... 2, 3, 4, 5, ... up to the square root of 22 22 , rounded up, which is approximately 4.7. Thus, feasible numbers are 2,3,4 2, 3, 4 .

Step 2: Check each number:

  • Isย 22รท2 \text{Is } 22 \div 2 a whole number? Yes, 22รท2=11 22 \div 2 = 11 .

Step 3: Since 22 22 is divisible by 2 2 , it has at least one divisor other than 1 1 and itself.

Therefore, n=22 n = 22 is a composite number.

Thus, the correct choice from the given options is: Composite.

Answer

Composite

Check your understanding
Start practice