# What are Prime Numbers?

A prime number is a natural number that has exactly two distinct natural number divisors: 1 and itself. A natural number that is not prime is called composite. For example, 6 is a prime number because it has the divisors 1, 2, and 3, but 8 is composite because it has the divisors 1, 2, and 4. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.

## What are Prime Numbers?

A prime number is a number that can be divided evenly only by 1 and itself. For example, the prime numbers between 1 and 10 are 2, 3, 5, 7, and 11.

## History of Prime Numbers

The history of prime numbers is a long and winding one. Mathematicians have been fascinated by these elusive numbers for centuries. Here is a brief overview of some of the most important milestones in the history of prime numbers.

The first mention of prime numbers comes from the ancient Greeks. Euclid, one of the most famous mathematicians of all time, mentioned them in his work Elements. However, he didn’t actually study them in any detail.

The first person to really study prime numbers was Pierre de Fermat. Fermat developed many of the basic concepts that we still use today to study prime numbers. He also came up with the famous Fermat’s Little Theorem.

In the 18th century, Leonhard Euler took Fermat’s work a step further and developed many of the key ideas about prime numbers that we still use today. He also proved the famous Euler’s Theorem.

In the 19th century, Carl Friedrich Gauss developed the theory of prime numbers to its current state. He proved many important theorems, including the famous Gauss’s Theorem.

In the 20th century, many mathematicians made important contributions to the theory of prime numbers, including Hardy, Ramanujan, and Erdos.

## Applications of Prime Numbers

In mathematics, prime numbers are numbers that are only divisible by themselves and 1. They are important in number theory and play a role in cryptography. Some of the most important applications of prime numbers are:

1. The Riemann hypothesis, one of the most important problems in mathematics, is about prime numbers.

2. Prime numbers are used in cryptography to create codes that are difficult to crack.

3. Prime numbers are also used in mathematical models to study the behavior of certain types of equations.

### Properties of Prime Numbers

A prime number is a number that can only be divided by 1 and itself. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, and 19.

Prime numbers have a few interesting properties:

• Prime numbers are the building blocks of the natural numbers. Every natural number can be written as a product of prime numbers.

• The only positive integer that is both square and prime is 1.

• A prime number is either a perfect square or it is 1 more than a perfect square.

• If a number is not prime, it can be written as the product of prime numbers.

### Difference Between Prime Numbers and Composite Numbers

A prime number is a number that is only divisible by 1 and itself. A composite number is a number that is divisible by more than 1 and itself.

### List of Prime Numbers Prime Numbers From 1 to 1000

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.

#### Composite Numbers

A composite number is a number that can be divided by two different numbers, other than itself and 1. Composite numbers are also called “factors.” The two numbers that can divide a composite number evenly are called its “prime factors.”

Some examples of composite numbers are 6, 12, and 36. 6 can be divided by 2 and 3, 12 can be divided by 2 and 3, and 36 can be divided by 2, 3, and 6.

#### Infinity Learn App

Now you can find answer to all your subject queries & prepare for your Exams on our test preparation app – Infinity Learn.