Last visit was: 22 Apr 2026, 23:12 It is currently 22 Apr 2026, 23:12
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
Hoehenheim
Joined: 06 Mar 2024
Last visit: 20 Mar 2025
Posts: 98
Own Kudos:
Given Kudos: 116
Posts: 98
Kudos: 52
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,763
Own Kudos:
Given Kudos: 105,850
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,763
Kudos: 810,699
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
mellowmev
Joined: 01 Jan 2024
Last visit: 24 Mar 2026
Posts: 34
Own Kudos:
Given Kudos: 26
Posts: 34
Kudos: 10
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
LessgotoM7
Joined: 22 Dec 2024
Last visit: 04 Jan 2026
Posts: 39
Own Kudos:
Given Kudos: 10
Posts: 39
Kudos: 7
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hey Bunuel,
Lets say a = -1, b = -5, hence p = 5. Now n can be some prime number which has 5 factors.
Median of the set {-5, -1, 5, n} would be 2. Am I missing something?

Thanks
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,763
Own Kudos:
810,699
 [1]
Given Kudos: 105,850
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,763
Kudos: 810,699
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
madhurhere
Hey Bunuel,
Lets say a = -1, b = -5, hence p = 5. Now n can be some prime number which has 5 factors.
Median of the set {-5, -1, 5, n} would be 2. Am I missing something?

Thanks

A prime number has only two positive factors: 1 and itself! If a number has 5 positive factors, it must be a perfect square. For example, 2^4 has five positive factors and is the square of an integer. Please review the solution more carefully.
User avatar
LessgotoM7
Joined: 22 Dec 2024
Last visit: 04 Jan 2026
Posts: 39
Own Kudos:
Given Kudos: 10
Posts: 39
Kudos: 7
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Thanks,
Was typo at my end that n is a prime number. But yes, number with 5 positive factors will be a perfect square.
Bunuel
madhurhere
Hey Bunuel,
Lets say a = -1, b = -5, hence p = 5. Now n can be some prime number which has 5 factors.
Median of the set {-5, -1, 5, n} would be 2. Am I missing something?

Thanks

A prime number has only two positive factors: 1 and itself! If a number has 5 positive factors, it must be a perfect square. For example, 2^4 has five positive factors and is the square of an integer. Please review the solution more carefully.
avatar
ms27
Joined: 31 Jul 2022
Last visit: 22 Apr 2026
Posts: 6
Own Kudos:
Given Kudos: 101
Posts: 6
Kudos: 3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
User avatar
Vikeesh
Joined: 15 Jan 2024
Last visit: 11 Oct 2025
Posts: 1
Given Kudos: 2
Posts: 1
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
User avatar
Sowmya_10
Joined: 14 Jun 2024
Last visit: 30 Mar 2026
Posts: 12
Own Kudos:
7
 [1]
Given Kudos: 26
GMAT Focus 1: 475 Q79 V68 DI74
GMAT 1: 410 Q41 V9
GMAT Focus 1: 475 Q79 V68 DI74
GMAT 1: 410 Q41 V9
Posts: 12
Kudos: 7
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Suppose I take the set to be {-3,-1, 3, some prime} then my median would be 1. In that case answer C would be the correct answer choice

Bunuel
Official Solution:


The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of positive factors of a positive integer \(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. \(\frac{1}{2}\)
C. \(1\)
D. \(\frac{3}{2}\)
E. \(2\)


This question covers several concepts in number theory and is quite challenging.

Let's begin with the positive integer \(n\), which we know is not a perfect square. We can recall that positive perfect squares have an odd number of factors while all other positive integers have an even number of factors. Hence, the number of factors of \(n\), which is \(p\), must be even. We are also told that \(p\) is a prime number, and since the only even prime number is \(2\), it follows that \(p=2\). Moreover, since only prime numbers have exactly \(2\) factors (1 and itself), \(n\) must also be a prime number.

Given that \(ab=p=2\), we have either \(a=-1\) and \(b=-2\), or vice versa. Therefore, the set of four integers is {-2, -1, 2, some prime}. The median of this set is \(\frac{-1+2}{2}=\frac{1}{2}\).


Answer: B
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,763
Own Kudos:
Given Kudos: 105,850
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,763
Kudos: 810,699
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Sowmya_10
Suppose I take the set to be {-3,-1, 3, some prime} then my median would be 1. In that case answer C would be the correct answer choice

Bunuel
Official Solution:


The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of positive factors of a positive integer \(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. \(\frac{1}{2}\)
C. \(1\)
D. \(\frac{3}{2}\)
E. \(2\)


This question covers several concepts in number theory and is quite challenging.

Let's begin with the positive integer \(n\), which we know is not a perfect square. We can recall that positive perfect squares have an odd number of factors while all other positive integers have an even number of factors. Hence, the number of factors of \(n\), which is \(p\), must be even. We are also told that \(p\) is a prime number, and since the only even prime number is \(2\), it follows that \(p=2\). Moreover, since only prime numbers have exactly \(2\) factors (1 and itself), \(n\) must also be a prime number.

Given that \(ab=p=2\), we have either \(a=-1\) and \(b=-2\), or vice versa. Therefore, the set of four integers is {-2, -1, 2, some prime}. The median of this set is \(\frac{-1+2}{2}=\frac{1}{2}\).


Answer: B

This set is not valid because a prime number cannot have 3 factors. By definition, a prime has exactly 2 positive factors: 1 and itself.
User avatar
SaiJ1011
Joined: 11 Jul 2024
Last visit: 05 Apr 2026
Posts: 11
Own Kudos:
Given Kudos: 12
Posts: 11
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
This is a great question that’s helpful for learning. Great conceptual question
User avatar
abhudayaharp
Joined: 27 Aug 2024
Last visit: 03 Dec 2025
Posts: 5
Posts: 5
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
This is a great question that’s helpful for learning and I like the solution - it’s helpful.
User avatar
stinson07
Joined: 14 Aug 2025
Last visit: 25 Feb 2026
Posts: 1
Given Kudos: 40
Posts: 1
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
sachin2040
if the set is {-1,-2,2,some prime} then the median would be 0. Am I missing out something?

Hi,

Yes, when you arrange the numbers for finding median, the correct order will be {-2, -1, 2, some prime number}.
User avatar
shivampaul
Joined: 27 Mar 2024
Last visit: 03 Feb 2026
Posts: 20
Own Kudos:
Given Kudos: 24
GMAT Focus 1: 685 Q86 V82 DI84
Products:
GMAT Focus 1: 685 Q86 V82 DI84
Posts: 20
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I like the solution - it’s helpful.
User avatar
nandini14
Joined: 26 Jun 2025
Last visit: 22 Apr 2026
Posts: 50
Own Kudos:
Given Kudos: 7
Location: India
Concentration: Finance, International Business
GMAT Focus 1: 685 Q84 V84 DI84
GPA: 8
GMAT Focus 1: 685 Q84 V84 DI84
Posts: 50
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
If I take a=1, b=2, hence p=2 and I can take n=3 then my median will be 2; can you please tell me what is incorrect in my approach?
Bunuel
The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of positive factors of a positive integer \(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. \(\frac{1}{2}\)
C. \(1\)
D. \(\frac{3}{2}\)
E. \(2\)
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,763
Own Kudos:
Given Kudos: 105,850
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,763
Kudos: 810,699
Kudos
Add Kudos
Bookmarks
Bookmark this Post
nandini14
If I take a=1, b=2, hence p=2 and I can take n=3 then my median will be 2; can you please tell me what is incorrect in my approach?

Please read the question carefully:

The product of two negative integers, \(a\) and \(b\), is a prime number \(p\). If \(p\) is the number of positive factors of a positive integer \(n\), where \(n\) is NOT a perfect square, what is the value of the median of the four integers \(a\), \(b\), \(p\), and \(n\)?
User avatar
3D
Joined: 26 Feb 2021
Last visit: 22 Apr 2026
Posts: 17
Given Kudos: 204
Location: India
GMAT Focus 1: 675 Q85 V83 DI82
GPA: 7.81
Products:
GMAT Focus 1: 675 Q85 V83 DI82
Posts: 17
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
This is a great question that’s helpful for learning.
User avatar
nandini14
Joined: 26 Jun 2025
Last visit: 22 Apr 2026
Posts: 50
Own Kudos:
Given Kudos: 7
Location: India
Concentration: Finance, International Business
GMAT Focus 1: 685 Q84 V84 DI84
GPA: 8
GMAT Focus 1: 685 Q84 V84 DI84
Posts: 50
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
But it's nowhere mentioned in the question that n is also a prime number? In this set n can be 6 as well and its not a perfect square
Bunuel


This set is not valid because a prime number cannot have 3 factors. By definition, a prime has exactly 2 positive factors: 1 and itself.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,763
Own Kudos:
Given Kudos: 105,850
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,763
Kudos: 810,699
Kudos
Add Kudos
Bookmarks
Bookmark this Post
nandini14
But it's nowhere mentioned in the question that n is also a prime number? In this set n can be 6 as well and its not a perfect square


Please, read the soliton carefully:

Let's begin with the positive integer \(n\), which we know is not a perfect square. We can recall that positive perfect squares have an odd number of factors while all other positive integers have an even number of factors. Hence, the number of factors of \(n\), which is \(p\), must be even. We are also told that \(p\) is a prime number, and since the only even prime number is \(2\), it follows that \(p=2\). Moreover, since only prime numbers have exactly \(2\) factors (1 and itself), \(n\) must also be a prime number.
User avatar
AditiDeokar
Joined: 12 Jan 2025
Last visit: 21 Apr 2026
Posts: 87
Own Kudos:
Given Kudos: 298
Location: India
Concentration: Finance
GMAT Focus 1: 525 Q77 V77 DI74
GPA: 3.5
GMAT Focus 1: 525 Q77 V77 DI74
Posts: 87
Kudos: 21
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Let a and b be -1 and -2 respectively. Product of a and b is 2 which is a prime - p. This p = 2 is the number of factors of n where n is not a perfect square. Therefore take n as 7 as 7 has only 2 positive fcators (1 and 7), arrange these values -2,-1,2,7 median is -1+2/2 = 1/2. I made a mistake during my exam by not arranging the values correctly
   1   2   3   
Moderators:
Math Expert
109763 posts
Founder
43154 posts