Questions about the world of GMAT Math from other sources and general math related questions.
adm45
Course Students
 
Posts: 23
Joined: Mon Feb 13, 2012 9:39 am
 

Determine if number is prime

by adm45 Wed Jul 17, 2013 1:52 pm

What is the underlying rule or concept that MGMAT is trying to tell us here with its solutions and how important is it that we remember this rule/concept (see below)? Also, in your answer can you provide example with different numbers. Thank you very much!

We are told that to determine if numbers (for example 61 and 67) are prime we only need to check if it is divisible by up to the square root of the number in question. The square root of 61 and the square root of 67 are around 8 so we only have to check that 7 does not go into either 61 or 67; it does not. Thus 61 and 67 are prime numbers.
jlucero
Forum Guests
 
Posts: 1102
Joined: Wed May 12, 2010 1:33 am
 

Re: Determine if number is prime

by jlucero Thu Jul 18, 2013 4:30 pm

Let's start with a simpler example. The factors of 30 are:
1 x 30
2 x 15
3 x 10
5 x 6

Notice that this pattern gets us to "numbers in the middle". I can stop with 5 x 6, because if 11 were a prime factor of 30, I would have counted it on the right side of my factors. Similarly, you can test for prime factors of larger numbers by starting at the lowest prime factor and work towards "numbers in the middle". Let's do 67:

2 x 33.5 (not a factor)
3 x 22ish (not a factor)
5 x 13ish (not a factor)
7 x 9ish (not a factor)

And I'm done. If I continued this to larger prime factors, the number on the right would have been a smaller factor I already tested.

11 x 6ish.

Basically, we already determined numbers less than 8 were not factors, so any numbers that are greater than 8 would already have been accounted for.
Joe Lucero
Manhattan GMAT Instructor