How to Find Prime Numbers

Introduction

It is important to understand prime numbers before we start figuring out how to find them. Numbers with only two factors, i.e., 1 and the number itself, are known as prime numbers. When we are given a number that is small, it is easy to figure out whether it is a prime number or not. However beyond two digits, the task becomes difficult and we have different tricks and theorems one can use.

In this article, we will discuss prime numbers as well as their identification, the consecutive prime formula, and also solve a few problems so you can better understand this concept.

What are prime numbers?

For a number to be prime, it should be a whole number divisible only by 1 or by itself. For instance, if we try to find the factors of 89, we will see that it is not divisible by any number other than 1 or itself and thus, is a prime number.

Here are a few properties of prime numbers:

  • Any positive integer larger than 2 can be written as the sum of two prime numbers.
  • Two prime numbers are always coprime.
  • The only even prime number is 2 and all the remaining prime numbers are odd.
  • The prime factors of each composite number are distinct.

How to identify if a number is prime

Since a prime number is only divisible by one or itself, an easy check for smaller numbers is to factorise them and check whether they have other factors. This involves the following steps.

Step 1: Find out the factors of the number in question.

Step 2: Determine how many does factors it has.

Step 3: If there is a total of more than two factors, the number isn’t prime.

For instance, 85 has a number of factors and as soon as you encounter the fact that it is divisible by 5, it is no longer prime. However, this method is not suitable for larger numbers since it becomes very time-consuming.

Let’s check 95 now. This time, we will utilise a clever trick that works as follows:

Step 1: Find the square root of the number given. In this case, it is \(\sqrt {95}  = 9.74 \approx 9\)  (we take the integer value).

Step 2: Select all prime numbers below the answer we have just derived (9) and see if they divided the number we are given.

Step 3: Upon doing so, we discover that 95 is divisible by 5 and thus, it is not a prime number.

Consecutive prime formula

While there is no general formula for giving us consecutive prime numbers, we can utilise a few tricks:

  • Except for the 2 and 3, all prime numbers can be represented in the form \(6n \pm 1\), where n is a natural number.
  • For prime numbers greater than 40, the following formula holds: Let n = 0, 1, 2,….., 39, then \({n^2} + n + 41\) gives us prime numbers.

Solved Examples

Example 1: Is 23 a prime number?

Solution:  To check whether 23 is prime or not, we have two approaches:

Approach 1:

We can check whether it fits on the pattern of \(6n \pm 1\). If we put n = 4, we get \(6n – 1 = 23\) and thus, we can say it may be prime.

Approach 2:

We can factorise 23 and we see that it only has the factors 1 and 23. Thus, both approaches confirm that it is a prime number.

Example 2: Is 61 a prime number?

Solution: For prime numbers greater than 40, we use the formula we just discussed. Let \({n^2} + n + 41\), where n=0,1,2….,39

Upon solving, we find that if n = 4, we get the answer as 61 and thus, 61 is a prime number.

Example 3: Check whether 24 is a prime number.

Solution: We start by finding its prime factors

\(\begin{array}{l}\begin{array}{*{20}{l}}{24{\rm{ }} = {\rm{ }}1{\rm{ }} \times {\rm{ }}24}\\{24{\rm{ }} = {\rm{ }}2{\rm{ }} \times {\rm{ }}12}\\{24{\rm{ }} = {\rm{ }}3{\rm{ }} \times {\rm{ }}8}\end{array}\\24{\rm{ }} = {\rm{ }}4{\rm{ }} \times {\rm{ }}6\end{array}\)

Thus, 24 has numerous factors, including 1, 2, 3, 4, 6, 8, and 12. Thus, it is not a prime number.

Summary

  • A whole number divisible only either by one or by itself is called a prime number.
  • A prime number larger than one has only one prime factor, i.e., itself.
  • Any positive integer greater than 2 can be written as a sum of two prime numbers.
  • Two prime numbers are always coprime.
  • 2 is the only even prime number.
  • The most basic way to check whether a number is prime is to factorize it. If it has more than two factors, it is not a prime number.
  • All prime numbers greater than 3 can be written in the form \(\;6n \pm 1\), where n is a natural number.
  • Prime numbers greater than 40 can be written in the form \({n^2} + n + 41\), where n goes from 0 to 39.

Frequently Asked Questions

1. What are prime numbers?

Numbers that can only be divided by one or by themselves are called prime numbers.

2. What is the formula to calculate prime numbers above 40?

Prime numbers greater than 40 can be written in the from \({n^2} + n + 41\), where n goes from 0 to 39.

 3. Is it possible that a number is both composite and prime?

No. The conditions of being prime and being composite are contradictory. However, the number 1 is said to be neither prime nor composite.

4. What are composite numbers?

Composite numbers are the opposites of primes. These are numbers which have more than two factors.

5. State some properties of prime nunumbers.

  • Two prime numbers are always coprime.
  • Any positive integer greater than 2 can be written as the sum of two prime numbers.
  • A prime number is a positive integer greater than 1.
  • It is only divisible by 1 and itself.
  • Every prime number has exactly two distinct factors, namely 1 and the prime number itself.
  • There are infinitely many prime numbers.
  • The first five prime numbers are 2, 3, 5, 7, and 11.
  • Every integer greater than 1 can be expressed as a product of primes, and this factorization is unique up to the order of the factors. This is known as the Fundamental Theorem of Arithmetic.
  • Prime numbers are important in number theory and have applications in cryptography and other areas of computer science.

Terms of an Expression

Introduction

An expression made up of variables, constants, coefficients, and mathematical operations like addition, subtraction, etc. is known as an algebraic expression. A variable is a symbol without a predetermined value. In an algebraic expression, a symbol with a fixed numerical value is referred to as the constant. A term is either a variable, a constant, or both combined through mathematical operations. A coefficient is a quantity that has been multiplied by a variable and is constant throughout the entire problem. Algebraic expressions have many uses, including representing real-world issues as well as solving various and complex mathematical equations to determine revenue, cost, etc.

Algebraic Expressions

An expression made up of variables, constants, coefficients, and mathematical operations like addition, subtraction, etc. is known as an algebraic expression. Algebraic expressions have many uses, including representing real-world issues and solving various and complex mathematical equations, finding revenue, cost, etc.

Based on a variety of number of terms, there are three main categories of algebraic expressions, i.e., monomial, binomial, and polynomial.

What is a Term in Algebra

A term is a group of numbers or variables that have been added, subtracted, divided, or multiplied together; a factor is a group of numbers or variables that have been multiplied; and a coefficient is a number that has been multiplied by a variable. Three terms, 9x², x, and 12, make up the expression 9x² + x + 12.

By drawing this conclusion, it is clear that an expression is made up of a number of terms, variables, factors, coefficients, and constants.

Terms of an Expression

A term can be a number, a variable, the sum of two or more variables, a number and a variable, or a product of both. A single term or a collection of terms can be used to create an algebraic expression. For instance, 2x and 5y are the two terms in the expression 2x + 5y.

A mathematical expression has one or more terms. A term in an expression can be a constant, a variable, the product of two variables (xy) or more (xyz), or the product of a variable and a constant (2x), among other things.

Different types of terms in an Algebraic Expression

There are different types of terms in algebraic expressions, 

Algebraic Expressions

Variables

These types of terms are usually represented by a symbol (most commonly its English alphabets), like x, y, z, a, b, etc. these symbols are there to represent unknown arbitrary values, hence the name ‘variables’ (since their values can vary).

Coefficient

These are not a type of a term but rather a part of a term that contains variables, coefficients are the numbers that are in multiplication with variables.

Constants

These terms are the numbers separate from the variables, and as the name suggest, they are a constant number, i.e., they are fix and never change unless they are under an operation with another constant term.

Also Read: Like and Unlike Terms

Algebraic Expressions Based on Number of Terms

A single term or a number of terms can be used to create an algebraic expression. Based on the number of terms, there are various types of expressions. These are listed below:

  • Monomial Expressions: – An algebraic expression in which an expression has only one term is known as a monomial. For example, 3x, xyz, x²
  • Binomial Expression: – An algebraic expression in which an expression has two terms is known as a monomial. For example, 5x + 8, xyz + x³
  • Polynomial Expression: – An expression in which an expression has more than two-term within a variable is known as a polynomial. For example, 2x + 4y + 7z,  + 5x + 3

Factors of terms: Identifying Factors

Factorization of terms refer to an algebraic expression that is written as a multiple of variables and constants.

We will now determine the factors of the terms in the given expression. To do this, we must first separate the terms and then look for their multiples. The results of this process are the factors of the given expression.

Let the expression be,

3xy + 5z²

Then the terms are,

3xy, 5z²

And the factorization of the terms are,

3 × 𝑥 × y and 5 × z × z

Solved Examples

Example 1: Identify the different terms, variables and coefficients in the following expressions

a.  + 3xy

b. 2ab + 5c²

Solution: 

a. Expression:  + 3xy

Terms: x², 3xy

Variables: x, y

Coefficients: 1 for x², 3 for xy

b. Expression: 2ab + 5c²

Terms: 2ab, 5c²

Variables: a, b, c

Coefficients: 2 for ab, 5 for c²

Summary

An expression made up of variables, constants, coefficients, and mathematical operations like addition, subtraction, etc. is known as an algebraic expression. Coefficients, constants, and variables are a few of the key words in the context of algebraic expressions. Similar terms are those in algebraic expressions that are constants or involve similar variables raised to similar exponents. In algebraic expressions, unlike terms are those terms that do not share the same variables or that share the same variables but have different exponents. Algebraic expressions are all polynomials, but not all algebraic expressions are polynomials. Polynomials are algebraic expressions without fractional or non-negative exponents. Algebraic expressions include fundamental identities that are used in the subject.

FAQs

1.What are Polynomials?

Ans. Polynomials are algebraic expressions with more than 2 terms and the variables have non-negative integer exponents.

2.What is a Quadratic Equation?

Ans. A quadratic equation is a polynomial equation, with maximum exponent on a variable being 2.

3. What is a term in an Algebraic Expression?

Ans. A term can be a number, a variable, the sum of two or more variables, a number and a variable, or a product of both. A single term or a collection of terms can be used to create an algebraic expression.

Common Factors and Common Multiples

Introduction

Although factors and multiples are entirely different concepts, they are related. To determine the factors, we divide the given number by another number, whereas multiples of the given number can be obtained by multiplying the given number by any other number. Multiplication is involved in both ideas. To obtain a given number, we multiply two numbers; the two numbers we multiplied are referred to as the obtained number’s factors.

For example, 4 x 5 = 20. Therefore, 20 is a multiple of 4 and 5, and 4 and 5 are factors of 20.

The number that is the factor of two or more numbers is referred to as the common factor. GCD (Greatest Common Divisor) and HCF (Highest Common Factor) are terms that relate to this idea.

The common multiple is the number that is a multiple of two or more other numbers. The Least Common Multiple, or LCM, is related to this idea. Different divisibility criteria can be used to determine whether a given number is divisible by another without actually conducting the division operation.

Factors

A number must divide completely, leaving no remainder, to be the factor of any other number. In other words, we can also say that the divisor is a factor of the dividend if a number (the dividend) is exactly divisible by any other number (the divisor), leaving no remainder.

For Example: Let’s take the number 36, if we check for factors of 36, we have

36 = 1 x 36 = 2 x 18 = 3 x 12 = 4 x 9 = 6 x 6

Factors of 12

Properties of Factors

  • If a division of a number by another number leaves no remainder, then that second number is said to be the factor of the first number.
  • A number can only have a finite number of factors.
  • Prime numbers are those that only have themselves and the number 1 as factors.
  • Composite numbers are those that have more than two factors.
  • Finding a number’s factors involves using division.
  • The obtained factors are always less than the initial number.

Multiples

Multiples are numbers created by multiplying the given number by integers. The multiplication table shows the multiples of a given number.

Multiples are numbers created by multiplying the given number by integers. The multiplication table shows the multiples of a given number 12

Properties of Multiples

  • The results of multiplying an integer by a given number are referred to as the given number’s multiples.
  • There are an infinite number of multiples of a number.
  • Finding a number’s multiples requires the use of multiplication.
  • The multiples of a given number exceed or are equal to that number.
  • Every number is a multiple of itself.

Difference between Factors and Multiples

Some differences between factors and multiples are given in the table below:

FactorsMultiples
Factors are exact divisors of a number.Multiple has the number as its exact divisor.
Factors of a number are finite.Multiples of a number are infinite.
Factors are obtained by division.Multiples are obtained by multiplication.
Factors of a number are always less than or equal to the number itself.Multiples of a number are always greater than or equal to the number itself.

Common Factors and HCF

A common factor is any factor that two or more numbers share.

common factor of a given number

For example, take 35 and 42

Factors of 35 = 1, 5, 7, 35

Factors of 42 = 1, 2, 3, 6, 7, 14, 21, 42

Both 35 and 42 have some factors such as 1 and 7 that are common to both, these are known as common factors of 35 and 42.

Now, in this case in the list of common factors, 7 is the largest number, or we can also call it the highest common factor, i.e., HCF.

Thus, HCF or the highest common factor of a set of numbers is defined as the largest number that divides all the numbers in the given set of numbers.

Common Multiples and LCM.

Common multiples of 6,12 and 36

Common multiples are those multiples that are shared by two or more different numbers.

For example, take 6 and 8

Some multiples of 6 are, 6, 12, 18, 24, 30, 36, 42, 48, 54, 60 etc.

Some multiples of 8 are 8, 16, 24, 32, 40, 48, 56, 64, 72, 80 etc.

Here, both 6 and 8 share some common multiples such as 24, 48 and infinitely many more. These are known as common multiples of 6 and 8.

In this case, in the list of common multiples, 24 is the smallest, or we can also call it the least common multiple, i.e., LCM.

Thus, LCM or least common multiple of a set of numbers is defined as the smallest number that is a multiple of or is divisible by all the numbers in the given set of numbers.

Solved Examples

Question: Find the list of factors of 36.

Solution: We know that 1 and the number itself, i.e., 36, are the two trivial factors, so we will start dividing by the next number.

36 ÷ 2 = 18, Thus, 2 and 18 are two more factors of 36, moving to the next number

36 ÷ 3 = 12, Thus, 3 and 12 are two more factors of 36, moving to the next number

36 ÷ 4 = 9, Thus, 4 and 9 are two more factors of 36, moving to the next number

Clearly, 36 is not divisible by 5 since it doesn’t have 5 or 0 in the unit place, moving to the next number

36 ÷ 6 = 6, Thus, 6 is the final factor of 36.

Factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, and 36.

Summary

This article provides insight into the topic of Factors and Multiples, while also shining a light on the concept of common factors and common multiples. To completely divide another number without leaving any remainder, a number must be the factor of that other number. The multiples are the results of multiplying the given number by integers. Common multiples are those multiples that are shared by two or more different numbers. A common factor exists for two or more different numbers.

Frequently Asked Questions (FAQs)

1. What are Factors and Multiples?

Ans. Factors of a number are defined as the number that divides the given number completely and evenly without leaving any remainder.

Multiples on the other hand are the numbers obtained by multiplying the given number by different integers.

2. What are Prime Numbers?

Ans. Prime numbers are defined as numbers greater than 1 that have only 2 factors, i.e., 1 and the number itself. Some examples of prime numbers are 2, 3, 5, 7, 11, etc.

3. What is the Fundamental Theorem of Arithmetic?

Ans. The fundamental theorem of arithmetic states that every number can be broken into the product of some prime numbers, also known as its prime factors. This product is unique to a number and cannot ever change no matter how you find it, only the order of the product changes.

4. What is the Relationship between HCF and LCM of two Numbers?

Ans. The relationship between is defined as: The product of HCF and LCM of two numbers is equal to the product of the two numbers.

HCF (a, b) × LCM (a, b) = a × b