Last visit was: 19 Nov 2025, 20:32 It is currently 19 Nov 2025, 20:32
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: 99
Own Kudos:
Given Kudos: 116
Posts: 99
Kudos: 47
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,386
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
mellowmev
Joined: 01 Jan 2024
Last visit: 22 Oct 2025
Posts: 36
Own Kudos:
Given Kudos: 26
Posts: 36
Kudos: 10
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
LessgotoM7
Joined: 22 Dec 2024
Last visit: 19 Nov 2025
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: 19 Nov 2025
Posts: 105,390
Own Kudos:
778,386
 [1]
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,386
 [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: 19 Nov 2025
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: 19 Nov 2025
Posts: 5
Own Kudos:
Given Kudos: 99
Posts: 5
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: 17 Nov 2025
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: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,386
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: 12 Jul 2025
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: 18 Sep 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: 16 Nov 2025
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: 17 Nov 2025
Posts: 10
Own Kudos:
Given Kudos: 24
GMAT Focus 1: 685 Q86 V82 DI84
Products:
GMAT Focus 1: 685 Q86 V82 DI84
Posts: 10
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: 19 Nov 2025
Posts: 38
Given Kudos: 4
Location: India
Concentration: Finance, International Business
GPA: 8
Products:
Posts: 38
Kudos: 0
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: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,386
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: 19 Nov 2025
Posts: 17
Given Kudos: 178
Products:
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: 19 Nov 2025
Posts: 38
Given Kudos: 4
Location: India
Concentration: Finance, International Business
GPA: 8
Products:
Posts: 38
Kudos: 0
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: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,386
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.
   1   2 
Moderators:
Math Expert
105390 posts
Founder
42387 posts