You are on page 1of 17

HOW TO FIND A PRIME NUMBER WITH MATHS APTITUDE TRICKS

 AUG 23, 2014 (HTTP://WWW.PUZZLES9.COM/2014/08/)  SAI MOHAN REDDY  APTITUDE TRICKS (HTTP://WWW.PUZZLES9.COM/APTITUDE-TRICKS/)
 (HTTP://WWW.PUZZLES9.COM/HOW-TO-FIND-PRIME-NUMBERS-HOW-TO-CHECK-IF-A-NUMBER-IS-PRIME/#COMMENTS)CLICK TO ADD A COMMENT
(HTTP://WWW.PUZZLES9.COM/HOW-TO-FIND-PRIME-NUMBERS-HOW-TO-CHECK-IF-A-NUMBER-IS-PRIME/#RESPOND)

                How to nd if a number is prime? We get questions on this topic in some competitive exams. Deciding whether a number is prime
number or not is not a simple task if it is bigger number. So, some techniques are needed to tell if the number is prime. This is what you are
looking for? then you are in right place to learn how to nd prime numbers easily. Because we have covered everything you need to know about
Prime numbers.
 Contents
1. What does prime number mean?
2. What is prime factorization – Calculating prime factors
3. Finding all prime numbers between 1 and 100 in a simple way
4. How to nd a prime number – Prime number check
5. Some facts about prime numbers
6. List of all prime numbers upto 1000
(http://i1.wp.com/www.puzzles9.com/wp-content/uploads/2014/08/howto ndprimenumbers.png)

What does prime number mean?


A Number which is divisible by 1 and the number itself is called as PRIME NUMBER.
Prime number must be a positive integer and it should be greater than 1.
Examples :
 
17 is divisible by 1 and 17 only, So, it is prime number.
15 is divisible by 1,3,5,15. So, it is not prime number.

What is Prime Factorization – Calculating Prime Factors


Factors of any number should be prime numbers in prime factorization.
Factors are numbers which are multiplied to get original number.
2 * 3  =  6   => 2, 3 are factors of 6. They are also prime factors of 6.
54  = 9 * 6  => 9,6 are factors of 54, but they are not prime factors.

Factor Tree :
Factor Tree can be used to get prime factors of a number.

(http://i2.wp.com/www.puzzles9.com/wp-content/uploads/2014/08/primeFActorizationtree.png)
2 * 3 * 3 * 3 = 54 => this is how we do prime factorization.
(2times {{3}^{3}}) are prime factors of 54.

List of Prime factors of numbers up to 100


Shares
(http://i1.wp.com/www.puzzles9.com/wp-content/uploads/2014/08/listofprimefactorsuptoo100.png)

Finding all prime numbers between 1 to 100 in a simple way


This technique can be used to nd all prime numbers between any two numbers
  25 prime numbers are there in between 1 and 100.
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…………

Shares

(http://i2.wp.com/www.puzzles9.com/wp-content/uploads/2014/08/Findingprimenumbersupto100.png)
First arrange numbers in a table like shown in gure.
Enter 6 numbers in each row until the last number (in this it is 100) reaches.
First we select a number and we strike o all the numbers divisible by that number.
Start with 2 which is greater than 1.
Round o number 2 and strike o entire column until the end.
Similarly strike o 4th column and 6th column as they are divisible by 2.
Now round o next number 3 and strike o entire column until end.
4 is gone.
Now round o next number 5 and strike o numbers in inclined fashion as shown in gure (they are divisible by 5). When striking o ends in
some row, start again striking o with number in another end which is divisible by 5. new striking o line should be parallel to previous strike o
line as shown in gure.
6 is gone.
Now round o number 7 and strike o numbers as we did in case of number 5.
8,9,10 are gone.
Stop at this point. Wonder why do we need to stop??
We have to do this procedure until we reach square root of bigger number in our numbers. (in this case square root of 100 is 10)
This technique was developed in 3rd century B.C.

How to nd a prime number


Divide the given number with every number below it.
Check whether the given number is divisible by any of the numbers below it except 1.
Shares
If it is not divisible by any number then it is prime number.

“ “Divisible by” means when you divide the whole number (http://www.puzzles9.com/2014/07/basic­
number­theory­number­problems.html) with another whole number result should be whole number with
remainder zero.

 
Actually you don’t need to divide with all numbers.
First check whether it is divisible by 2 or not.
Next check with 3, 5, 7, 11,13…..
Check divisibility only with prime numbers. (http://www.puzzles9.com/2014/08/generalized-divisibility-rules-for-divisibility-tests.html)
Here also you don’t need to divide with all prime numbers below it.
Let p be the given number.
Find a number n greater than (~sqrt{p})
Find prime numbers below n and divide p with only those prime numbers below n.Actually, we used the same procedure in the above gure of
nding all prime numbers upto 100.

Ex : 1 – Number is 149
Let us nd whether 149 is prime or not.
[sqrt{149}= 12.20 < 13] prime numbers below 13 are 2,3,5,7,11….
149 is not exactly divisible by 2, because it dont has even number at end.
149 is not exactly divisible by 3, because the sum of numbers 1+4+9= 14 is not divisible by 3.
149 is not exactly divisible by 5, because it dont has 0 or 5 at end.
149 is not exactly divisible by 7,11.
So, 149 is prime number…
Ex: 2 – number is 631

Let us nd whether 631 is prime or not.


[sqrt{631}=
Shares 25.11 < 26] prime numbers below 26 are 2,3,5,7,11,13,17,19,23….
631 is not exactly divisible by 2,3,5,7,11,13,17,19,23…
So, 631 is prime number…For easy divisibility checking, you should know the divisibility rules.Read about generalized divisibility rules here
(http://www.puzzles9.com/2014/08/generalized-divisibility-rules-for-divisibility-tests.html)

Some Facts on Prime Numbers


Co Primes:   
H.C.F. of two numbers in one set should be 1.
Ex: (2,3),(4,5),(6,7),(11,15)

“ If a number N is divisible by two numbers a and b, where a,
b are co primes, then N is divisible by ab.

Twin Primes:
Di erence between prime numbers in one set should be 2.
Ex: (3,5),(5,7),(11,13),(17,19),(31,33)

“ If a Number M is a prime number and N is a next prime
number, the average difference between M and N is “ ln(M) ” [natural logarithm
of M]

2 is the only one prime even number.
Numbers greater than 1 and which are non prime numbers are composite numbers. (http://www.puzzles9.com/2014/07/basic­number­theory­
number­problems.html)
Some probabilistic methods are available for checking big prime numbers.

List of all prime numbers upto 1000


Shares
Here is the list of prime numbers upto 1000 for your reference.

 
(http://i2.wp.com/www.puzzles9.com/wp-content/uploads/2014/08/primenumbersupto1000.png)
Thats all about Prime Numbers.
Shares

Generalized divisibility rules (http://www.puzzles9.com/2014/08/generalized-divisibility-rules-for-divisibility-tests.html)

check about blood relations tricks (http://www.puzzles9.com/2013/09/solve-blood-relations-questiions-with-aptitude-logic.html)

20
SHARES

 Facebook (http://www.facebook.com/sharer.php?u=http://www.puzzles9.com/how-to- nd-prime-numbers-how-to-check-if-a-


number-is-prime/)

 Twitter (https://twitter.com/intent/tweet?
text=How%20To%20Find%20a%20Prime%20Number%20with%20maths%20aptitude%20tricks&url=http://www.puzzles9.com/how-
to- nd-prime-numbers-how-to-check-if-a-number-is-prime/)

 (HTTP://WWW.PUZZLES9.COM/HOW-TO-FIND-PRIME-NUMBERS-HOW-TO-CHECK-IF-A-NUMBER-IS-
PRIME/#COMMENTS)CLICK TO ADD A COMMENT (HTTP://WWW.PUZZLES9.COM/HOW-TO-FIND-PRIME-NUMBERS-HOW-
TO-CHECK-IF-A-NUMBER-IS-PRIME/#RESPOND)
 APTITUDE TRICKS (HTTP://WWW.PUZZLES9.COM/APTITUDE-TRICKS/)
 

(http://www.puzzles9.com/e-book/)

Connect to get latest stu

Like Us On Facebook

Puzzles9
Shares 2,671 likes

Like Page Learn More

Be the first of your friends to like this
Get More Stu Like This In Your Inbox

Enter your Email


 

Subscribe

Comments

0 Comments Sort by  Oldest

Add a comment...

Shares

Facebook Comments Plugin

You Should Try These Too !


Missing Number Puzzle : Find missing number in this number sequence puzzle

Shares
Number Sequence Puzzles : Can You Find Answer to this ?

Shares

Tricky Missing Number Puzzle : Solve this if you can !!


Missing Number Puzzles With Answers : Can You Solve This ?

Shares
Another Tricky Number Sequence Puzzle With Answer For You

Shares

Awesome Number sequence Puzzle With Answer


« ‹ 1 2 3 4 5 › »

Choose Posts By Month

Select Month

Like Us On Facebook

Puzzles9
2,671 likes

Like Page Learn More

Be the first of your friends to like this

Shares

E Book
 Most di cult puzzles with answers

 Aptitude Tricks

 Reasoning Tricks

 More than 3000 downloads and counting

 Read Now (http://www.puzzles9.com/e-book)

Home (http://www.puzzles9.com) · About (http://www.puzzles9.com/about/) · Contact Us (http://www.puzzles9.com/contact-us/)


· We are hiring! (http://www.puzzles9.com/we-are-hiring/) · Privacy Policy (http://www.puzzles9.com/privacy-policy/)
Shares
· Terms and Conditions (http://www.puzzles9.com/terms-and-conditions/) · Disclaimer (http://www.puzzles9.com/disclaimer/)
  Copyright © 2016

You might also like