-
rajatvmittal
- Master | Next Rank: 500 Posts
- Posts: 110
- Joined: Sat Feb 11, 2012 5:01 am
- Thanked: 2 times
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













