Last visit was: 25 Apr 2024, 22:45 It is currently 25 Apr 2024, 22:45

Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
SORT BY:
Date
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619063 [51]
Given Kudos: 81595
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92915
Own Kudos [?]: 619063 [16]
Given Kudos: 81595
Send PM
General Discussion
User avatar
Director
Director
Joined: 25 Apr 2012
Posts: 531
Own Kudos [?]: 2284 [1]
Given Kudos: 740
Location: India
GPA: 3.21
WE:Business Development (Other)
Send PM
User avatar
Manager
Manager
Joined: 13 Jun 2013
Posts: 223
Own Kudos [?]: 1046 [3]
Given Kudos: 14
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
3
Kudos
Bunuel wrote:

New project from GMAT Club: Topic-wise questions with tips and hints!



If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.
(2) \(p-1\) is a factor of \(p\).

Kudos for a correct solution.



ST. 1) p and P+1 have the same no. of factors.
p=2 have two factors of 1 and 2
and p=p+1=3 also have two factors of 1 and 3

Also, P=14 have 1,14,2,7 as its factors
and P=P+1 =15 have 1,15,3,5 as its factors.

now since P=2 ( a prime no.) and P=14 (a non prime) satisfy the given condition hence Insufficient

ST. 2)
since p-1 is the factor of p therefore, we can write p as; p=k(p-1) ; where k is an integer.

re arranging the equation we have;
p=k/(k-1) now since P is a positive integer. therefore the only of k that satisfy this equation is k=2 for which p=2 which is a prime no.

hence sufficient. correct answer should be B
User avatar
Manager
Manager
Joined: 21 Sep 2012
Posts: 194
Own Kudos [?]: 399 [1]
Given Kudos: 31
Location: United States
Concentration: Finance, Economics
Schools: CBS '17
GPA: 4
WE:General Management (Consumer Products)
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
1
Kudos
Statement 1 :

p and p+1 have the same number of factors
Let p=2, so p+1=3
No of factors of 2= 2 (1 & 2)
No of factors of 3=2 (1 & 3)
so statement is true

Let p=14, so p+1=15
No of factors of 14=4 (1,2,7 &14)
No of factors of 15=4 (1,3,5 &15)
but the statement is false, hence statement is not sufficient

Statement 2:
p-1 is a factor of p.
p-1 can be a factor of p only when p=2.
2 is a prime no.
statement is sufficient.
Hence ans is B.
Intern
Intern
Joined: 23 Sep 2012
Posts: 20
Own Kudos [?]: 107 [1]
Given Kudos: 5
Concentration: Technology, Operations
GMAT 1: 740 Q50 V40
GPA: 4
WE:Information Technology (Computer Software)
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
1
Kudos

Statement 1


If p=2; p+1 =3,
both of them have 2 factors, in this case p is 2 and a prime number.
(Remember : Prime Numbers only have 2 factors-1 & itself and 2,3 are the only consecutive prime numbers)

However if p=14
factors={1,2,7,14}, number of factors = 4

p+1=15
factors={1,3,5,15}, number of factors = 4

in this case p is not a Prime Number.

Hence Not Sufficient.

Statement 2


p-1 is a factor of p , that only happens when p-1=1 and p=2. (2 consecutive numbers with the smaller number being a factor of the larger number)

Hence Sufficient.

B
avatar
Manager
Manager
Joined: 27 Oct 2013
Posts: 176
Own Kudos [?]: 225 [1]
Given Kudos: 79
Location: India
Concentration: General Management, Technology
GMAT Date: 03-02-2015
GPA: 3.88
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
1
Kudos
WoundedTiger wrote:
Bunuel wrote:
If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.
(2) \(p-1\) is a factor of \(p\)


St1: since p, p+1 are consecutive nos, they are co prime.
There are only 1 set of nos which have same no of factors. No 2 has 1 &2 as factors, similarly 3 has 1 and 3 as factors.

For any other pair, the no of factors will not be the same.st1 is sufficient

St2: so we have p, p-1 are consecutive integers and are therefore co prime ie only 1 is a common factor
Only combination where p-1 is a factor of p is 2,1. p=2 is prime and hence sufficient.

Ans is D

Posted from my mobile device



Take P = 1, then P+1 = 2
It satisfies statement 1
But 1 is not a prime number

Take p=2, then p+1=3
Here P is a prime number.
Hence statement one alone is not sufficient
User avatar
Manager
Manager
Joined: 03 Oct 2013
Status:Kitchener
Posts: 64
Own Kudos [?]: 46 [0]
Given Kudos: 144
Location: Canada
Concentration: Finance, Finance
GPA: 2.9
WE:Education (Education)
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Bunuel wrote:
SOLUTION

If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.

Primes have 2 factors, 1 and itself, (the reverse is also true: if a positive integer has 2 factors, then it must be a prime). So, for the answer to the question to be YES, both \(p\) and \(p+1\) must be primes. Are there consecutive primes? Yes, 2 and 3.

Could we have a case when \(p\) and \(p+1\) have the same number of factors, and \(p\) is NOT a prime? Yes. For example, both 14 (not a prime) and 15 have four factors. Also, both 21 (not a prime) and 22 have four factors.

Not sufficient.

(2) \(p-1\) is a factor of \(p\).

\(p-1\) and \(p\) are consecutive integers. Consecutive integers do not share any common factor but 1. Therefore, \(p-1\) to be a factor of \(p\), \(p-1\) must be 1, which makes \(p\) equal to prime number 2. Sufficient.

Answer: B.

Theory on Number Properties: math-number-theory-88376.html
Tips and hints about Number Properties

DS Number Properties Problems to practice: search.php?search_id=tag&tag_id=38
PS Number Properties Problems to practice: search.php?search_id=tag&tag_id=59

Please share your number properties tips here and get kudos point. Thank you.


Dear Bunuel, Can I test ststement 1 as follow:

let P = 1(where 1 it is not a prime number), so P+1 = 2 then, 1 and 2 both have two factors and 1 is not prime number

Now let p=2 (prime number), so p+1=3 so, 2 and 3 both have two factors and 2 is prime number

so, statement 1 is not sufficient
GMAT Club Legend
GMAT Club Legend
Joined: 19 Dec 2014
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Posts: 21846
Own Kudos [?]: 11667 [0]
Given Kudos: 450
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Expert Reply
Hi 23a2012,

Unfortunately, the example that you came up with does NOT match the description in Fact 1:

While the number 2 has two factors (1 and 2), the number 1 has just ONE factor (1).

GMAT assassins aren't born, they're made,
Rich
GMAT Club Legend
GMAT Club Legend
Joined: 12 Sep 2015
Posts: 6820
Own Kudos [?]: 29936 [1]
Given Kudos: 799
Location: Canada
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
1
Kudos
Expert Reply
Top Contributor
Bunuel wrote:

New project from GMAT Club: Topic-wise questions with tips and hints!



If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.
(2) \(p-1\) is a factor of \(p\).

Kudos for a correct solution.



Target question: Is p a prime number?

Given: p is a positive integer

Statement 1: p and p+1 have the same number of factors.
Let's TEST some values.
There are several values of p that satisfy statement 1. Here are two:
Case a: p = 2. This means that p+1 = 3. Notice that 2 and 3 both have the same number of factors (2 factors each). In this case, p IS prime
Case b: p = 14. This means that p+1 = 15. Notice that 14 and 15 both have the same number of factors (4 factors each). In this case, p is NOT prime
Since we cannot answer the target question with certainty, statement 1 is NOT SUFFICIENT

Statement 2: p−1 is a factor of p
Let's test some cases:
If p = 3, then p-1 = 2. Is 2 a factor of 3? No.
If p = 4, then p-1 = 3. Is 3 a factor of 4? No.
If p = 5, then p-1 = 4. Is 4 a factor of 5? No.
If p = 6, then p-1 = 5. Is 5 a factor of 6? No.
.
.
.
We can see that, if we keep going, p-1 will NEVER be a factor of p. Yet, statement 2 says that p-1 IS a factor of p.
Let's test the two positive integers that we haven't yet tested: 2 and 1
If p = 2, then p-1 = 1. Is 1 a factor of 2? YES! So, p COULD equal 2
If p = 1, then p-1 = 0. Is 0 a factor of 1? No
So, We can conclude that p MUST equal 2, which means p IS prime
Since we can answer the target question with certainty, statement 2 is SUFFICIENT

Answer: B

RELATED VIDEO

Originally posted by BrentGMATPrepNow on 19 May 2017, 10:54.
Last edited by BrentGMATPrepNow on 02 May 2020, 10:25, edited 1 time in total.
GMAT Club Legend
GMAT Club Legend
Joined: 19 Dec 2014
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Posts: 21846
Own Kudos [?]: 11667 [1]
Given Kudos: 450
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
1
Bookmarks
Expert Reply
Hi All,

This question can be solved by TESTing VALUES, but it will likely also require a bit of 'brute force' work. Sometimes the easiest/fastest way to get to the solution is to just put the pen on the pad and quickly list out the possibilities.

We're told that P is a POSITIVE INTEGER. We're asked if P is PRIME. This is a YES/NO question.

1) P and (P+1) have the same number of factors.

The information in this Fact might take a little bit of work to deal with, so let's brute force the possibilities until we find a couple of examples that match what we're told here:

P=1 .. 1 factor
P=2 .. 2 factors
P=3 .. 2 factors
P=4 .. 3 factors
P=5 .. 2 factors

P=6 .. 4 factors
P=7 .. 2 factors
P=8 .. 4 factors
P=9 .. 3 factors
P=10 .. 4 factors

P=11 .. 2 factors
P=12 .. 6 factors
P=13 .. 2 factors
P=14 .. 4 factors
P=15 .. 4 factors

We can now see two 'pairs' of numbers that have the SAME number of factors...
2 and 3; if P=2 then the answer to the question is YES
14 and 15; if P=14 then the answer to the question is NO
Fact 1 is INSUFFICIENT

2) (P-1) is a factor of P.

Again, let's start at P=1 and see what occurs...

P=1 .. 0 is not a factor of 1
P=2 .. 1 IS a factor of 2
P=3 .. 2 is not a factor of 3
P=4 .. 3 is not a factor of 4
Etc.

At this point, we can stop working - larger values of P will continue to yield the same result. The ONLY time that (P-1) is a factor of P is when P=2. Thus, there is ONLY one answer to the question (and it happens to be YES).
Fact 2 is SUFFICIENT

Final Answer:

GMAT assassins aren't born, they're made,
Rich
Intern
Intern
Joined: 12 Sep 2017
Posts: 23
Own Kudos [?]: 6 [0]
Given Kudos: 64
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Bunuel wrote:
SOLUTION

If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.

Primes have 2 factors, 1 and itself, (the reverse is also true: if a positive integer has 2 factors, then it must be a prime). So, for the answer to the question to be YES, both \(p\) and \(p+1\) must be primes. Are there consecutive primes? Yes, 2 and 3.

Could we have a case when \(p\) and \(p+1\) have the same number of factors, and \(p\) is NOT a prime? Yes. For example, both 14 (not a prime) and 15 have four factors. Also, both 21 (not a prime) and 22 have four factors.

Not sufficient.

(2) \(p-1\) is a factor of \(p\).

\(p-1\) and \(p\) are consecutive integers. Consecutive integers do not share any common factor but 1. Therefore, \(p-1\) to be a factor of \(p\), \(p-1\) must be 1, which makes \(p\) equal to prime number 2. Sufficient.

Answer: B.

Theory on Number Properties: https://gmatclub.com/forum/math-number-theory-88376.html
Tips and hints about Number Properties

DS Number Properties Problems to practice: https://gmatclub.com/forum/search.php?se ... &tag_id=38
PS Number Properties Problems to practice: https://gmatclub.com/forum/search.php?se ... &tag_id=59

Please share your number properties tips HERE and get kudos point. Thank you.




Hi Bunuel

My question is how to quickly check that two consecutive number have same number of factors like 14-15. Because testing numbers is time taking. I am looking for quick way to find this thing out.

Thank you.
BSchool Moderator
Joined: 08 Dec 2013
Posts: 686
Own Kudos [?]: 516 [0]
Given Kudos: 227
Location: India
Concentration: Nonprofit, Sustainability
Schools: ISB '23
GMAT 1: 630 Q47 V30
WE:Operations (Non-Profit and Government)
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Bunuel wrote:

New project from GMAT Club: Topic-wise questions with tips and hints!



If \(p\) is a positive integer, is \(p\) a prime number?

(1) \(p\) and \(p+1\) have the same number of factors.
(2) \(p-1\) is a factor of \(p\).

Kudos for a correct solution.



#1, P can be 2; P can also be 14. Insufficient.

#2, Concept: For any number n the factors must be <= root(n).
So, \(p-1\) is a factor of \(p\) only possible iff, p=2. Sufficient. B




Click HERE
GMAT Club Legend
GMAT Club Legend
Joined: 19 Dec 2014
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Posts: 21846
Own Kudos [?]: 11667 [0]
Given Kudos: 450
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Expert Reply
Ruthwikchinnu wrote:
St1: since p, p+1 are consecutive nos, they are co prime.
There are only 1 set of nos which have same no of factors. No 2 has 1 &2 as factors, similarly 3 has 1 and 3 as factors.

For any other pair, the no of factors will not be the same.st1 is sufficient

St2: so we have p, p-1 are consecutive integers and are therefore co prime ie only 1 is a common factor
Only combination where p-1 is a factor of p is 2,1. p=2 is prime and hence sufficient.

Ans is D


Hi Ruthwikchinnu,

While the numbers 2 and 3 fit the information in Fact 1 (and give us a 'YES' answer to the question that is asked), that is NOT the only pair of numbers that fits that information. The numbers 14 and 15 each have the same number of factors (in this case, 4 factors). Here though, P is not prime (which gives us a 'NO' answer to the question). Thus, Fact 1 is INSUFFICIENT.

GMAT assassins aren't born, they're made,
Rich
User avatar
Non-Human User
Joined: 09 Sep 2013
Posts: 32681
Own Kudos [?]: 822 [0]
Given Kudos: 0
Send PM
Re: If p is a positive integer, is p a prime number? [#permalink]
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
GMAT Club Bot
Re: If p is a positive integer, is p a prime number? [#permalink]
Moderator:
Math Expert
92915 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne