A Wagstaff prime is a prime number p such that p=((2q)+1)/3, when q is another prime. If p and q are positive integers, is p a Wagstaff prime? (q is a power to 2)
p=q
q=3
i chose D
p=q
q=3
i chose D
Live GMAT classes with Target Test Prep start Nov 30 and Dec 6. First class free.
See classesLearn live with an expert or move at your own pace. Every option includes the complete TTP study system.
Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.
with Josh Braslow, 20+ years in test prep
Self-paced EA prep. Study on your schedule.
with
Complete access from day one. Study on your schedule.
Note: Use "^" to indicate powers.rajatvmittal wrote:A Wagstaff prime is a prime number p such that p=((2^q)+1)/3, when q is another prime. If p and q are positive integers, is p a Wagstaff prime? (q is a power to 2)
1) p=q
2) q=3
i chose D
I don't quite follow this solution.rajatvmittal wrote:i got d too.
but rxplanation says: -
Solution: B
Start with the easier statement first. If p = q, p and q could be any integer, but to answer the question we must know if both p and q are prime; statement (1) is INSUFFICIENT. Statement(2:q = 3. Now plug it into the formula given. ((2^3)+1)/3 = 9/3=3, so p = 3. This is prime, so statement (2) is SUFFICIENT on its own; (B).
Yes, I think the answer is D.rajatvmittal wrote:Hi Brent
I got the same question in my mind when i looked at the explanation. I too dint quite understand it and that is the reason I posted it on the forum.
So can i say that answer is D not B
Hello Brent - I did not understand how you factorized 3p - 1 = 2^p in to 1 and 3 as the solutions for the equation ? I did get D because in both cases P would not be prime but was stuck in factorizing the equation (took an educated guess)Brent@GMATPrepNow wrote:Note: Use "^" to indicate powers.rajatvmittal wrote:A Wagstaff prime is a prime number p such that p=((2^q)+1)/3, when q is another prime. If p and q are positive integers, is p a Wagstaff prime? (q is a power to 2)
1) p=q
2) q=3
i chose D
Target question: Is p a Wagstaff prime?
Given: p=((2^q)+1)/3
p and q must be a prime
Statement 1: p=q
Replace q with p to get: p=((2^p)+1)/3
Multiply both sides by 3 to get: 3p=(2^p)+1
Rearrange to get: 3p - 1 = 2^p
There are 2 possible solutions here: p=1 and p=3. Let's examine each:
p=1: No good, since we're told that p and q must be prime.
p=3: Good, since this means p and q are both prime.
Since we can answer the target question with certainty, statement 1 is SUFFICIENT
Statement 2: q=3
If q=3, then p must equal 3 (which is prime)
Since we can answer the target question with certainty, statement 2 is SUFFICIENT.
Answer = D
Cheers,
Brent