How to find whether a given number is prime or not?

Algebra 2

How to find whether a given number is prime or not?

Postby burgess » Tue Aug 12, 2014 1:39 pm

What is a prime number

A number is greater than 1 is called a prime number, if it has only two factors, namely 1 and the number itself.

Prime numbers up to 100 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

Procedure to find out the prime number

Suppose A is given number.

Step 1: Find a whole number nearly greater than the square root of A. K > square root(A)
Step 2: Test whether A is divisible by any prime number less than K. If yes A is not a prime number. If not, A is prime number.

Example:

Find out whether 337 is a prime number or not?

Step 1: 19 > square root (337)
Prime numbers less than 19 are 2, 3, 5, 7, 11, 13, 17
Step 2: 337 is not divisible by any of them

Therefore 337 is a prime number

These are simple and easy tricks which are helpful to solve your math homework problems .
burgess
 
Posts: 45
Joined: Wed Jun 25, 2014 8:24 am
Reputation: 13

Re: How to find whether a given number is prime or not?

Postby jackwilson » Thu Aug 14, 2014 11:31 pm

Thanks for sharing the information about how to find number is prime or not.

jackwilson
 
Posts: 29
Joined: Wed May 21, 2014 1:24 am
Reputation: 4

Re: How to find whether a given number is prime or not?

Postby burgess » Tue Aug 19, 2014 8:02 am

jackwilson wrote:Thanks for sharing the information about how to find number is prime or not.


You are welcome

burgess
 
Posts: 45
Joined: Wed Jun 25, 2014 8:24 am
Reputation: 13


Return to Algebra 2



Who is online

Users browsing this forum: No registered users and 5 guests