Last visit was: 23 Apr 2026, 14:21 It is currently 23 Apr 2026, 14:21
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
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 23 Apr 2026
Posts: 109,785
Own Kudos:
Given Kudos: 105,853
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,785
Kudos: 810,853
 [102]
14
Kudos
Add Kudos
88
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 23 Apr 2026
Posts: 109,785
Own Kudos:
Given Kudos: 105,853
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,785
Kudos: 810,853
 [47]
21
Kudos
Add Kudos
26
Bookmarks
Bookmark this Post
General Discussion
User avatar
manpreetsingh86
Joined: 13 Jun 2013
Last visit: 19 Dec 2022
Posts: 218
Own Kudos:
1,194
 [4]
Given Kudos: 14
Posts: 218
Kudos: 1,194
 [4]
3
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
avatar
GeorgeA023
Joined: 10 Jan 2013
Last visit: 03 Feb 2017
Posts: 37
Own Kudos:
205
 [1]
Given Kudos: 13
Concentration: Marketing, Strategy
GMAT 1: 640 Q42 V36
GMAT 2: 680 Q47 V36
WE:Marketing (Transportation)
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel

The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of factors of \(n\), where \(n\) is NOT a perfect square, what is the value of the median of the four integers \(a\), \(b\), \(p\), and \(n\)?

A. 0
B. 1/2
C. 1
D. 3/2
E. 2

Kudos for a correct solution.


We know that the only way two integers will give us a prime is 1 times a prime number. So A or B is -1 and know both numbers are negative.

Since N is not a perfect square it should have 2 factors. Since P=the number of factors, 2, and A or B is -1, then A or B must also be -2.

A*B=2
A=-1
B=-2
P=2
P=N=2

Set of Numbers {-2,-1,2,2}

Median = ((-1+2)/2) =1/2

Answer B
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 23 Apr 2026
Posts: 109,785
Own Kudos:
Given Kudos: 105,853
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,785
Kudos: 810,853
Kudos
Add Kudos
Bookmarks
Bookmark this Post
GeorgeA023
Bunuel

The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of factors of \(n\), where \(n\) is NOT a perfect square, what is the value of the median of the four integers \(a\), \(b\), \(p\), and \(n\)?

A. 0
B. 1/2
C. 1
D. 3/2
E. 2

Kudos for a correct solution.


We know that the only way two integers will give us a prime is 1 times a prime number. So A or B is -1 and know both numbers are negative.

Since N is not a perfect square it should have 2 factors. Since P=the number of factors, 2, and A or B is -1, then A or B must also be -2.

A*B=2
A=-1
B=-2
P=2
P=N=2

Set of Numbers {-2,-1,2,2}

Median = ((-1+2)/2) =1/2

Answer B

Notice that it's not necessary n to be 2, it could be any other prime as well.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 23 Apr 2026
Posts: 109,785
Own Kudos:
810,853
 [3]
Given Kudos: 105,853
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,785
Kudos: 810,853
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
SOLUTION

The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of factors of \(n\), where \(n\) is NOT a perfect square, what is the value of the median of the four integers \(a\), \(b\), \(p\), and \(n\)?

A. 0
B. 1/2
C. 1
D. 3/2
E. 2

This is a hard questions which tests several number theory concepts.

Start from n: we are told that \(n\) is NOT a perfect square. The number of factors of perfect square is odd and all other positive integers have even number of factors. Hence, since \(p\) is the number of factors of \(n\), then \(p\) must be even. We also know that \(p\) is a prime number and since the only even prime is 2, then \(p=2\). Notice here that from this it follows that \(n\) must also be a prime, because only primes have 2 factors: 1 and itself.

Next, \(ab=p=2\) implies that \(a=-1\) and \(b=-2\) or vise-versa.

So, the set is {-2, -1, 2, some prime}, whcih means that the median is (-1 + 2)/2 = 1/2.

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
avatar
GeorgeA023
Joined: 10 Jan 2013
Last visit: 03 Feb 2017
Posts: 37
Own Kudos:
Given Kudos: 13
Concentration: Marketing, Strategy
GMAT 1: 640 Q42 V36
GMAT 2: 680 Q47 V36
WE:Marketing (Transportation)
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
GeorgeA023
Bunuel

The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of factors of \(n\), where \(n\) is NOT a perfect square, what is the value of the median of the four integers \(a\), \(b\), \(p\), and \(n\)?

A. 0
B. 1/2
C. 1
D. 3/2
E. 2

Kudos for a correct solution.


We know that the only way two integers will give us a prime is 1 times a prime number. So A or B is -1 and know both numbers are negative.

Since N is not a perfect square it should have 2 factors. Since P=the number of factors, 2, and A or B is -1, then A or B must also be -2.

A*B=2
A=-1
B=-2
P=2
P=N=2

Set of Numbers {-2,-1,2,2}

Median = ((-1+2)/2) =1/2

Answer B

Notice that it's not necessary n to be 2, it could be any other prime as well.


Bunuel,

Yeah I see that now. When I read it I glanced over the second of. I saw P is the number of factors N and not P is the number of factors of N. So I read it as P=N and not the way it was written.
avatar
PareshGmat
Joined: 27 Dec 2012
Last visit: 10 Jul 2016
Posts: 1,531
Own Kudos:
Given Kudos: 193
Status:The Best Or Nothing
Location: India
Concentration: General Management, Technology
WE:Information Technology (Computer Software)
Posts: 1,531
Kudos: 8,271
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Assumed numbers:

a, b, p, n as

-2, -1, 2, 3

-2 * -1 = 2 (Prime Number)

3 has 2 factors (1 & 3);

It is not a square

Median \(= \frac{2-1}{2} = \frac{1}{2}\)

Answer = B
User avatar
hellosanthosh2k2
Joined: 02 Apr 2014
Last visit: 07 Dec 2020
Posts: 360
Own Kudos:
Given Kudos: 1,227
Location: India
Schools: XLRI"20
GMAT 1: 700 Q50 V34
GPA: 3.5
Schools: XLRI"20
GMAT 1: 700 Q50 V34
Posts: 360
Kudos: 619
Kudos
Add Kudos
Bookmarks
Bookmark this Post
given: 1. a * b = prime number
2. a and b -ve numbers

so one of them has to be -1
say a = -1

probable ascending order: { b , a, p , n}
since p is number of factors of n, where n is not a perfect square. p cannot be odd (as only perfect square has odd number of factors)

so p is even, so median of {b,a,p,n} = (even - 1)/2 = odd / 2 = fraction.

Only option B and D left.

if median were 3/2, then p = 4 => not a prime => so D is out

Answer (B)
avatar
krish76
Joined: 16 Jan 2018
Last visit: 17 Feb 2020
Posts: 44
Own Kudos:
Given Kudos: 16
Concentration: Finance, Technology
GMAT 1: 600 Q40 V33
Products:
GMAT 1: 600 Q40 V33
Posts: 44
Kudos: 31
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Excellent Excellence question!!!


a*b is prime.
Since, prime number(P) only has 2 factors 1 and P and any factor of P must contain of product that arrives at P.
The only way the product is prime if one of the number is prime (the same number) and other is 1. In this case both negative.
so, a = -1 and B = -P (or vice versa).

Now, N is not a perfect square so the number of factor has to be even. The only way that p is both even and prime is if it is 2.

so, a =-1,B=-2 and p =2.

I got kind of stuck here and could not determine n. But was pretty sure it is -2 or 2.

if it is 2 then the set is -2,-1,2,2 . median is 1/2.. MY answer
if it is -2, then set is -2,-2,-1,2 median is -3/2. not one of the option..
User avatar
Wongderful
Joined: 20 Dec 2017
Last visit: 13 Sep 2022
Posts: 26
Own Kudos:
17
 [1]
Given Kudos: 15
Location: Singapore
Posts: 26
Kudos: 17
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
A really tough question, took me a good 7 min to solve.

The product of two negative integers, a and b, is a prime number p.

If p is a prime number, a is -1 and b is -p, or vice versa.

If p is the number of factors of n, where n is NOT a perfect square,

A non-perfect square integer will always have even number of factors. And the only even prime number is 2. Hence a & b is -1 & -2 or vice versa.

what is the value of the median of the four integers a, b, p, and n

We know the following values are present -2, -1, 2, n.
Since 2<n and the question is asking about median, we do not need to know the exact value of n.
The answer is \((-1+2)/2 = 1/2\)

Ans: B
User avatar
Sneha2021
Joined: 20 Dec 2020
Last visit: 10 Jun 2025
Posts: 294
Own Kudos:
38
 [1]
Given Kudos: 522
Location: India
Posts: 294
Kudos: 38
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
How can we deduce 2<n?
Why can't n=1 ?
User avatar
Mayank452
Joined: 08 Jul 2021
Last visit: 21 Dec 2023
Posts: 10
Own Kudos:
Given Kudos: 170
GMAT 1: 710 Q49 V38
GMAT 1: 710 Q49 V38
Posts: 10
Kudos: 3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Sneha2021
How can we deduce 2<n?
Why can't n=1 ?

The question says that n is not a perfect square. 1 is a perfect square.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,962
Own Kudos:
Posts: 38,962
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109785 posts
Tuck School Moderator
853 posts