GMAT Question of the Day - Daily to your Mailbox; hard ones only

It is currently 19 Nov 2019, 06:15

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

If p is a positive integer, is p a prime number?

  new topic post reply Question banks Downloads My Bookmarks Reviews Important topics  
Author Message
TAGS:

Hide Tags

Find Similar Topics 
Math Expert
User avatar
V
Joined: 02 Sep 2009
Posts: 59147
If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 06:29
5
25
00:00
A
B
C
D
E

Difficulty:

  85% (hard)

Question Stats:

43% (01:46) correct 57% (01:38) wrong based on 511 sessions

HideShow timer Statistics

Most Helpful Expert Reply
Math Expert
User avatar
V
Joined: 02 Sep 2009
Posts: 59147
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 06:29
4
5
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.
_________________
General Discussion
Senior Manager
Senior Manager
User avatar
Joined: 13 Jun 2013
Posts: 259
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 07:50
2
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\).

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
Manager
Manager
avatar
Joined: 21 Sep 2012
Posts: 206
Location: United States
Concentration: Finance, Economics
Schools: CBS '17
GPA: 4
WE: General Management (Consumer Products)
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 08:09
1
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
User avatar
Joined: 23 Sep 2012
Posts: 20
Concentration: Technology, Operations
GMAT 1: 740 Q50 V40
GPA: 4
WE: Information Technology (Computer Software)
Reviews Badge
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 13:57
1

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
Manager
Manager
avatar
Joined: 27 Oct 2013
Posts: 198
Location: India
Concentration: General Management, Technology
GMAT Date: 03-02-2015
GPA: 3.88
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 15 Jun 2014, 22:39
1
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
Director
Director
User avatar
Joined: 25 Apr 2012
Posts: 654
Location: India
GPA: 3.21
WE: Business Development (Other)
Reviews Badge
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 06 Jun 2014, 07:15
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
_________________

“If you can't fly then run, if you can't run then walk, if you can't walk then crawl, but whatever you do you have to keep moving forward.”
Manager
Manager
User avatar
Status: Kitchener
Joined: 03 Oct 2013
Posts: 87
Location: Canada
Concentration: Finance, Finance
GPA: 2.9
WE: Education (Education)
If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 01 Feb 2015, 14:52
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
_________________
Click +1 Kudos if my post helped
EMPOWERgmat Instructor
User avatar
V
Status: GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Joined: 19 Dec 2014
Posts: 15476
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 01 Feb 2015, 15:08
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
_________________
Contact Rich at: Rich.C@empowergmat.com
Image


The Course Used By GMAT Club Moderators To Earn 750+

souvik101990 Score: 760 Q50 V42 ★★★★★
ENGRTOMBA2018 Score: 750 Q49 V44 ★★★★★
GMAT Club Legend
GMAT Club Legend
User avatar
V
Joined: 12 Sep 2015
Posts: 4065
Location: Canada
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 19 May 2017, 10:54
Top Contributor
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\).

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:

RELATED VIDEOS



_________________
Test confidently with gmatprepnow.com
Image
EMPOWERgmat Instructor
User avatar
V
Status: GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Joined: 19 Dec 2014
Posts: 15476
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 19 May 2017, 16:18
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
_________________
Contact Rich at: Rich.C@empowergmat.com
Image


The Course Used By GMAT Club Moderators To Earn 750+

souvik101990 Score: 760 Q50 V42 ★★★★★
ENGRTOMBA2018 Score: 750 Q49 V44 ★★★★★
Intern
Intern
avatar
B
Joined: 12 Sep 2017
Posts: 26
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 25 May 2018, 23:48
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: http://gmatclub.com/forum/math-number-theory-88376.html
Tips and hints about Number Properties

DS Number Properties Problems to practice: http://gmatclub.com/forum/search.php?se ... &tag_id=38
PS Number Properties Problems to practice: http://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.
ISB School Moderator
User avatar
G
Joined: 08 Dec 2013
Posts: 606
Location: India
Concentration: Nonprofit, Sustainability
Schools: ISB '21
GMAT 1: 630 Q47 V30
WE: Operations (Non-Profit and Government)
Reviews Badge CAT Tests
Re: If p is a positive integer, is p a prime number?  [#permalink]

Show Tags

New post 27 Jun 2019, 07:15
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\).

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




_________________
Kindly drop a '+1 Kudos' if you find this post helpful.

GMAT Math Book


-I never wanted what I gave up
I never gave up what I wanted-
GMAT Club Bot
Re: If p is a positive integer, is p a prime number?   [#permalink] 27 Jun 2019, 07:15
Display posts from previous: Sort by

If p is a positive integer, is p a prime number?

  new topic post reply Question banks Downloads My Bookmarks Reviews Important topics  





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