Prime numbers are those natural numbers divisible by only 1 and the number itself. Numbers with more than two factors are called composite numbers. All primes are odd numbers except for 2.
A total of 25 prime numbers are there between 1 and 100. These 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.
Mathematically prime numbers are defined as:
If p â N, then p is prime if for any integers a and b, if p = a â
b, then either a = 1 or b = 1
OR
p is prime âš p > 1 and if p = a â
b, then either a = 1 or b = 1.

In this article, we will discuss in detail about prime numbers, the list of prime numbers 1 to 100, the differences between prime and composite numbers, their examples, the prime numbers chart, etc.
There are 25 prime numbers between 1 to 100. The image added below shows the prime numbers from 1 to 100.

Read More:
Smallest and Largest Prime Number
The smallest prime number is 2. It is unique because itâs the only even prime number. There is no largest prime number, as prime numbers continue infinitely
Read More: Smallest and Largest Prime Number
Properties of Prime Numbers
Prime numbers have some properties which are listed as follows:
- A Prime number is always a natural number i.e., a number greater than 1.
- There are infinitely many prime numbers. This was proved by Euclid around 300 BC.
- Every positive integer greater than 1 can be written as a product of prime numbers in a unique way, up to the order of the factors. This is known as the Fundamental Theorem of Arithmetic.
Please refer Interesting Facts about Prime Numbers for more interesting facts.
Prime Factorization
Prime factorization involves breaking down a composite number into a product of prime numbers. For example, the prime factorization of 60 is 22 x 3 x 5. This is useful for solving problems involving divisibility, greatest common divisors, and least common multiples.
Read More: Prime Factorization
Prime Factorization of Some Numbers
Prime factorization of some of the common composite number are:
| Numbers | Prime Factorization | Numbers
| Prime Factorization
|
|---|
| 36 | 22 Ã 32 |
40
|
23 Ã 5
|
| 24 | 23 Ã 3 |
50
|
2 Ã 52
|
| 60 | 22 Ã 3 Ã 5 |
48
|
24 Ã 3
|
| 18 | 2 Ã 32 |
30
|
2 Ã 3 Ã 5
|
| 72 | 23 Ã 32 |
42
|
2 Ã 3 Ã 7
|
| 45 | 32 Ã 5 |
20
|
22 Ã 5
|
Prime Numbers vs Composite Numbers
There are a few differences between Prime and Composite numbers, which are as follows:
Prime Numbers
| Composite Numbers
|
|---|
| All Prime Numbers have only two factors such as 1 and the number itself. For example, 5 has only two factors 1 and 5. | All Composites Numbers must have any factor other than 1 and the number itself. For example, 6 has 2 and 3 as its factors other than 1 and 6. |
| All Primes are Odd numbers except 2. | Composites can be either odd or even. |
| Some of the first few primes are 2, 3, 5, 7, 11, 13, 17, etc. | Some of the first few composites are 4, 6, 8, 9, 12, 14, 15, etc. |

Coprime Numbers
Coprime numbers have just a single common factor, which is 1. This means that a pair of numbers is said to be coprime if their largest common factor is 1.
Note: All primes numbers are coprime to each other.
Read More: Co Prime Numbers
Interesting Facts about Prime Numbers
Some of the interesting facts about Prime Numbers are mentioned below:
- With the exception of 2, which is an even prime number, all prime numbers are odd.
- All prime numbers, with the exception of 2 and 5, ends with 1, 3, 7, or 9.
- A product of two or more prime numbers can be used to express any positive number larger than one in a unique way.
- Two prime integers can be added to represent any even positive integer.
Read More: Interesting Facts about Prime Numbers
How to Find Prime Numbers?
Let’s learn some simple methods, which can help us easily identify that given number is a Prime or not.
- All even numbers are NOT Prime, except for 2. This means if a number ends with 0, 2, 4, 6, or 8, it is not prime.
- Prime Numbere can also be found by Divisibility Rules for Small Primes.
- Division Method and Factorization Method are also used to find prime numbers.
Read in Detail: How to Find Prime Numbers
Algorithms to Check for Prime
Since there is no formula to directly check whether a given number is prime or not, we typically use compute programs to check the same. There exist many algorithms to do the same. The best possible time we get for prime numbers is O(Log n) for a given number n if we have not done any preconceptions. Please refer Check for Prime Number for all programs and algorithms in detail.
Also Check:
Applications of Prime Numbers in Real Life
There are so many real life examples of prime numbers in real life. These uses and applications are mentioned below:
- Cryptography
- RSA Encryption
- Internet Security
- Digital Signatures
- Credit Card Transactions
Read More: Applications of Prime Numbers in Real Life
Some of the important theorems related to prime numbers are:
- Euclid Division Lemma
- Wilson Theorem
- Fermat’s Little Theorem
Euclid Division Lemma
Euclidâs Division Lemma gives the relation between the various components of Division. It explains that for any two positive integers say a and b there exist two unique integers q and r such that a = bq + r where q the quotient of the division, and r is the remainder of the division.
Read in Detail: Euclidâs Division Lemma
Wilson Theorem
Wilson Theorem states that if p is any natural number greater than 1, then p is said to be a prime number if and only if the product of all the positive integers less than p is one less than a multiple of number p.
Read in Detail: Wilson’s Theorem
Fermat’s Little Theorem
According to Fermat’s Little theorem, if p is a prime number and a is a positive integer not divisible by p, then there exists a positive integer k such that ak – 1 is divisible by p.
Read in Detail: Fermat’s Little Theorem
Importance of Prime Numbers
Prime Numbers hold a significant place in the evolution of mathematics, primarily for their crucial role in improving cryptography and security standards in the modern world. Despite years of research, Prime Numbers continue to be an active topic in the field of mathematical research, fascinating scientists and scholars with their elegant properties and wide range of applications.
- Prime numbers are the basic building blocks of natural numbers. Every integer greater than 1 can be uniquely expressed as a product of primes, known as the Fundamental Theorem of Arithmetic. This uniqueness is crucial for number theory.
- Prime numbers play a vital role in modern cryptography, particularly in algorithms like RSA. They are used to create keys for secure data transmission, ensuring that sensitive information remains private.
- Primes are central to many important theorems and conjectures in mathematics, such as the Goldbach Conjecture and the Prime Number Theorem, which describes the distribution of prime numbers among the integers.
- In computer algorithms, prime numbers are used in hashing functions and data structures, helping to optimize performance and reduce collisions in hash tables.
- Studying prime numbers contributes to the understanding of randomness and patterns in mathematics. Their distribution can reveal insights into more complex mathematical structures and theories.
Prime Numbers Examples
Example 1: Determine whether 37 is a prime number or not.
Solution:
As a prime number is a positive integer greater than 1 that has no positive integer divisors other than 1 and itself.
As 37 = 1 Ã 37,
Therefore, 37 has no divisors other than 1 and itself, and it is a prime number.
So, 37 is a prime number.
Example 2: Find all the prime numbers between 20 and 40.
Solution:
The prime numbers between 20 and 40 are 23, 29, and 37.
Example 3: Is 19 a Prime Number?
Solution:
Let us write the given number in the form of 6n Âą 1.
6(3) + 1 = 18 + 1 = 19
Therefore, 19 is a prime number
Example 4: Which is the greatest prime number between 1 to 10?
Solution:
There are 4 prime numbers between 1 and 10 and the greatest prime number between 1 and 10 is 7.
Examples 5: Why is 20 not a prime number?
Solution:
The factors of 20 are 1, 2, 4, 5, 10, and 20. Thus, 20 has more than two factors. Since the number of factors of 20 is more than two numbers, it is NOT a prime number.
Also Read:
Practice Questions on Prime Numbers
1. Find the first 5 prime numbers.
2. Determine whether the following numbers are prime or not: 17, 25, 29, 37, 41.
3. Calculate the product of the first 3 prime numbers.
4. What is the sum of the first 10 prime numbers?
5. Find the prime factorization of the number 56.
6. Is 97 a prime number? Explain why or why not.
7. What is the List all prime numbers between 50 and 100.
8. What is the prime factorization of 84?
9. Find the sum of the prime numbers between 10 and 30.
10. Identify the twin primes between 40 and 60 (twin primes are pairs of primes that differ by 2).
Answers
- 2, 3, 5, 7, 11
- Prime: 17, 29, 37, 41
Not Prime: 25 - 30 (2 Ã 3 Ã 5)
- 129
- 23 Ã 7
- Yes, 97 is prime.
- 53, 59, 61, 67, 71, 73, 79, 83, 89
- 22 Ã 3 Ã 7
- 60 (11 + 13 + 17 + 19)
- 41 and 43, 59 and 61 (twin primes)
Prime Numbers for Programmers
Conclusion
Prime numbers are fundamental building blocks in mathematics, with applications from basic arithmetic to advanced theories and applications in cryptography, computer science, and number theory. Understanding prime numbers helps us learn about the simplicity and complexity of numbers, as they are the indivisible elements that shape various mathematical structures. By exploring the properties of prime numbers, we gain deeper insights into the nature of numbers and their crucial role in both theoretical and practical domains of mathematics.
Also Check: Prime Numbers Worksheet
Prime Numbers – FAQs
What are prime numbers?
Prime numbers are positive integers greater than 1 that has no positive integer divisors other than 1 and itself.
What prime numbers are even?
There is only one such prime number which is even i.e. 2. Therefore 2 is called only even prime.
Is 1 a prime number?
1 is neither prime nor composite number.
What are twin prime numbers?
Twin prime are the pair of primes which has difference of 2(when smaller is subtracted from greater). For example 5 and 7 as 7-5=2.
Some more examples of twin primes are 3 and 5 (5-3=2), 11 and 13, 17 and 19, 29 and 31, 41 and 43, etc.
What are the first 10 prime numbers?
First ten primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29.
What are the prime numbers between 70 and 90?
The prime numbers between 70 and 90 are 71, 73, 79, 83, and 89
What are twisted prime numbers?
A pair of number is called Twisted Primes if both numbers are palindrome as well as prime themselves. For example, 17 and 71 are Twisted Prime Pair as both are palindrome (reversing the digits of 17 number become 71 and same for the 71) as well as prime themselves.
Why is 2 a prime number?
2 is considered a prime number because it meets the fundamental definition of a prime number: it is a positive integer greater than 1 that has no positive integer divisors other than 1 and itself. In the case of 2, it can only be divided by 1 and 2 without leaving a remainder.
What is a prime number for kids?
A prime number is a special kind of whole number greater than 1 that has only two factors: 1 and the number itself. In other words, it cannot be evenly divided by any other numbers except 1 and the number itself. Examples of prime numbers include 2, 3, 5, 7, and 11.
Is 1 composite or prime?
No, 1 is neither composite nor prime. Prime numbers have exactly two distinct positive divisors (1 and the number itself), and composite numbers have more than two divisors. Since 1 only has one distinct positive divisor (itself), it doesn’t fit the definition of a prime or composite number.
What is the fastest way to find a prime number?
The fastest way to find a prime number depends on the context. However, using a method like the Sieve of Eratosthenes is efficient for finding smaller prime numbers. For larger primes, probabilistic algorithms like the Miller-Rabin test or deterministic ones like the AKS primality test are commonly used.
Which is the largest known prime number?
The largest known prime number is a Mersenne prime of the form 282,589,933â12^{82,589,933} – 1282,589,933â1. It was discovered in December 2018 and contains over 24 million digits.
What is the lowest prime number?
The smallest prime number is 2.
Similar Reads
CBSE Class 9 Maths Revision Notes
CBSE Class 9th Maths Revision Notes is an important phase of studentâs life when theyâre at a turning point in their life. The reason being class 9 is the foundation level to succeed in class 10. As you know, students must complete Class 9 in order to sit for Class 10 board examinations. Also, it la
15+ min read
Chapter 1: Number System
Number System in Maths
Number System is a method of representing numbers on the number line with the help of a set of Symbols and rules. These symbols range from 0-9 and are termed as digits. Let's learn about the number system in detail, including its types, and conversion. Number System in MathsNumber system in Maths is
13 min read
Natural Numbers | Definition, Examples & Properties
Natural numbers are the numbers that start from 1 and end at infinity. In other words, natural numbers are counting numbers and they do not include 0 or any negative or fractional numbers. For example, 3, 6, 57, 973, 4000, and so on. Natural numbers are the counting numbers: 1, 2, 3, 4, 5, and so on
11 min read
Whole Numbers - Definition, Properties and Examples
Whole numbers are a foundational concept in mathematics, encompassing all non-negative integers starting from zero. This set includes numbers like 0, 1, 2, 3, and so on, up to infinity. Unlike integers, whole numbers do not include negative numbers or fractions. Examples of Whole Numbers are 0, 2, 3
9 min read
Prime Numbers
Prime numbers are those natural numbers divisible by only 1 and the number itself. Numbers with more than two factors are called composite numbers. All primes are odd numbers except for 2. A total of 25 prime numbers are there between 1 and 100. These are: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37,
12 min read
Rational Numbers
Rational numbers are a fundamental concept in mathematics, defined as numbers that can be expressed as the ratio of two integers, where the denominator is not zero. Represented in the form p/qâ (with p and q being integers), rational numbers include fractions, whole numbers, and terminating or repea
15+ min read
Irrational Numbers- Definition, Examples, Symbol, Properties
Irrational numbers are real numbers that cannot be expressed as fractions. Irrational Numbers can not be expressed in the form of p/q, where p and q are integers and q â 0. They are non-recurring, non-terminating, and non-repeating decimals. Irrational numbers are real numbers but are different from
12 min read
Real Numbers
Real Numbers are continuous quantities that can represent a distance along a line, as Real numbers include both rational and irrational numbers. Rational numbers occupy the points at some finite distance and irrational numbers fill the gap between them, making them together to complete the real line
10 min read
Decimal Expansion of Real Numbers
The combination of a set of rational and irrational numbers is called real numbers. All the real numbers can be expressed on the number line. The numbers other than real numbers that cannot be represented on the number line are called imaginary numbers (unreal numbers). They are used to represent co
6 min read
Decimal Expansions of Rational Numbers
Real numbers are simply the combination of rational and irrational numbers, in the number system. In general, all the arithmetic operations can be performed on these numbers and they can be represented in the number line, also. So in this article let's discuss some rational and irrational numbers an
6 min read
Representation of Rational Numbers on the Number Line | Class 8 Maths
Rational numbers are the integers p and q expressed in the form of p/q where q>0. Rational numbers can be positive, negative or even zero. Rational numbers can be depicted on the number line. The centre of the number line is called Origin (O). Positive rational numbers are illustrated on the righ
5 min read
Operations on Real Numbers
Real Numbers are those numbers that are a combination of rational numbers and irrational numbers in the number system of maths. Real Number Operations include all the arithmetic operations like addition, subtraction, multiplication, etc. that can be performed on these numbers. Besides, imaginary num
9 min read
Rationalization of Denominators
Rationalization of Denomintors is a method where we change the fraction with an irrational denominator into a fraction with a rational denominator. If there is an irrational or radical in the denominator the definition of rational number ceases to exist as we can't divide anything into irrational pa
8 min read
Nth Root
Nth root of unity is the root of unity when taken which on taking to the power n gives the value 1. Nth root of any number is defined as the number that takes to the power of n results in the original number. For example, if we take the nth root of any number, say b, the result is a, and then a is r
7 min read
Laws of Exponents for Real Numbers
Laws of Exponents are fundamental rules used in mathematics to simplify expressions involving exponents. These laws help in solving arithmetic problems efficiently by defining operations like multiplication, division, and more on exponents. In this article, we will discuss the laws of exponent for r
6 min read
Chapter 2: Polynomials
Polynomials in One Variable | Polynomials Class 9 Maths
Polynomials in One Variable: Polynomial word originated from two words âpolyâ which means âmanyâ and the word ânominalâ which means âtermâ. In maths, a polynomial expression consists of variables known as indeterminate and coefficients. Polynomials are expressions with one or more terms with a non-z
7 min read
Polynomial Formula
The polynomial Formula gives the standard form of polynomial expressions. It specifies the arrangement of algebraic expressions according to their increasing or decreasing power of variables. The General Formula of a Polynomial: f(x) = anâxn + anâ1âxnâ1 + ⯠+ a1âx + a0â Where, anâ, anâ1â, â¦, a1â, a0
6 min read
Types of Polynomials (Based on Terms and Degrees)
Types of Polynomials: In mathematics, an algebraic expression is an expression built up from integer constants, variables, and algebraic operations. There are mainly four types of polynomials based on degree-constant polynomial (zero degree), linear polynomial ( 1st degree), quadratic polynomial (2n
9 min read
Zeros of Polynomial
Zeros of a Polynomial are those real, imaginary, or complex values when put in the polynomial instead of a variable, the result becomes zero (as the name suggests zero as well). Polynomials are used to model some physical phenomena happening in real life, they are very useful in describing situation
14 min read
Factorization of Polynomial
Factorization in mathematics refers to the process of expressing a number or an algebraic expression as a product of simpler factors. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12, and we can express 12 as 12 = 1 Ã 12, 2 Ã 6, or 4 Ã 3. Similarly, factorization of polynomials involves expr
10 min read
Remainder Theorem
The Remainder Theorem is a simple yet powerful tool in algebra that helps you quickly find the remainder when dividing a polynomial by a linear polynomial, such as (x - a). Instead of performing long or synthetic division, you can use this theorem to substitute the polynomial and get the remainder d
9 min read
Factor Theorem
Factor theorem is used for finding the roots of the given polynomial. This theorem is very helpful in finding the factors of the polynomial equation without actually solving them. According to the factor theorem, for any polynomial f(x) of degree n ⥠1 a linear polynomial (x - a) is the factor of th
11 min read
Algebraic Identities
Algebraic Identities are fundamental equations in algebra where the left-hand side of the equation is always equal to the right-hand side, regardless of the values of the variables involved. These identities play a crucial role in simplifying algebraic computations and are essential for solving vari
14 min read
Chapter 3: Coordinate Geometry
Chapter 4: Linear equations in two variables
Linear Equations in One Variable
Linear equation in one variable is the equation that is used for representing the conditions that are dependent on one variable. It is a linear equation i.e. the equation in which the degree of the equation is one, and it only has one variable. A linear equation in one variable is a mathematical sta
7 min read
Linear Equation in Two Variables
Linear Equation in Two Variables: A Linear equation is defined as an equation with the maximum degree of one only, for example, ax = b can be referred to as a linear equation, and when a Linear equation in two variables comes into the picture, it means that the entire equation has 2 variables presen
9 min read
Graph of Linear Equations in Two Variables
Linear equations are the first-order equations, i.e. the equations of degree 1. The equations which are used to define any straight line are linear, they are represented as, x + k = 0; These equations have a unique solution and can be represented on number lines very easily. Let's look at linear e
5 min read
Graphical Methods of Solving Pair of Linear Equations in Two Variables
A system of linear equations is just a pair of two lines that may or may not intersect. The graph of a linear equation is a line. There are various methods that can be used to solve two linear equations, for example, Substitution Method, Elimination Method, etc. An easy-to-understand and beginner-fr
8 min read
Chapter 5: Introduction to Euclid's Geometry
Chapter 6: Lines and Angles
Chapter 7: Triangles
Triangles in Geometry
A triangle is a polygon with three sides (edges), three vertices (corners), and three angles. It is the simplest polygon in geometry, and the sum of its interior angles is always 180°. A triangle is formed by three line segments (edges) that intersect at three vertices, creating a two-dimensional re
13 min read
Congruence of Triangles |SSS, SAS, ASA, and RHS Rules
Congruence of triangles is a concept in geometry which is used to compare different shapes. It is the condition between two triangles in which all three corresponding sides and corresponding angles are equal. Two triangles are said to be congruent if and only if they can be overlapped with each othe
10 min read
Theorem - Angle opposite to equal sides of an isosceles triangle are equal | Class 9 Maths
In geometry, an isosceles triangle is a triangle that has two sides of equal length. Sometimes it is specified as having exactly two sides of equal length, and sometimes as having at least two sides of equal length, the latter version thus including the equilateral triangle as a special case. Exampl
4 min read
Triangle Inequality Theorem, Proof & Applications
Triangle Inequality Theorem is the relation between the sides and angles of triangles which helps us understand the properties and solutions related to triangles. Triangles are the most fundamental geometric shape as we can't make any closed shape with two or one side. Triangles consist of three sid
9 min read
Chapter 8: Quadrilateral
Angle Sum Property of a Quadrilateral
Angle Sum Property of a Quadrilateral: Quadrilaterals are encountered everywhere in life, every square rectangle, any shape with four sides is a quadrilateral. We know, three non-collinear points make a triangle. Similarly, four non-collinear points take up a shape that is called a quadrilateral. It
9 min read
Quadrilaterals
Quadrilateral is a two-dimensional figure characterized by having four sides, four vertices, and four angles. It can be broadly classified into two categories: concave and convex. Within the convex category, there are several specific types of quadrilaterals, including trapezoids, parallelograms, re
12 min read
Parallelogram | Properties, Formulas, Types, and Theorem
A parallelogram is a two-dimensional geometrical shape whose opposite sides are equal in length and are parallel. The opposite angles of a parallelogram are equal in measure and the Sum of adjacent angles of a parallelogram is equal to 180 degrees. A parallelogram is a four-sided polygon (quadrilate
10 min read
Rhombus: Definition, Properties, Formula and Examples
A rhombus is a type of quadrilateral with the following additional properties. All four sides are of equal length and opposite sides parallel. The opposite angles are equal, and the diagonals bisect each other at right angles. A rhombus is a special case of a parallelogram, and if all its angles are
7 min read
Trapezium in Maths | Formulas, Properties & Examples
A trapezium or Trapezoid is a four-sided quadrilateral with one pair of parallel sides, called the bases, and the other two non-parallel sides called the legs. The term "trapezium" comes from the Greek word "trapeze," meaning "table."It is a two-dimensional shape with four sides and four vertices. T
8 min read
Square in Maths - Area, Perimeter, Examples & Applications
A square is a type of quadrilateral where all four sides are of equal length and each interior angle measures 90°. It has two pairs of parallel sides, with opposite sides being parallel. The diagonals of a square are equal in length and bisect each other at right angles.Squares are used in various f
6 min read
Kite - Quadrilaterals
A Kite is a special type of quadrilateral that is easily recognizable by its unique shape, resembling the traditional toy flown on a string. In geometry, a kite has two pairs of adjacent sides that are of equal length. This distinctive feature sets it apart from other quadrilaterals like squares, re
8 min read
Properties of Parallelograms
Properties of Parallelograms: Parallelogram is a quadrilateral in which opposite sides are parallel and congruent and the opposite angles are equal. A parallelogram is formed by the intersection of two pairs of parallel lines. In this article, we will learn about the properties of parallelograms, in
9 min read
Mid Point Theorem
The Midpoint Theorem is a fundamental concept in geometry that simplifies solving problems involving triangles. It establishes a relationship between the midpoints of two sides of a triangle and the third side. This theorem is especially useful in coordinate geometry and in proving other mathematica
6 min read
Chapter 9: Areas of Parallelograms and Triangles