Menu Close

Determine-two-distinct-primes-p-and-q-such-that-i-p-q-1-p-q-1-p-q-2-P-All-primes-ii-p-q-1-p-q-1-p-q-2-p-q-2-P-All-primes-




Question Number 17272 by RasheedSoomro last updated on 03/Jul/17
Determine two distinct primes   p   and   q   such that:  (i) p+q+1,p+q−1,((p+q)/2) ∈ P (All primes)?  (ii) p+q+1,p+q−1,((p+q)/2),((p−q)/2) ∈ P (All primes)?
Determinetwodistinctprimespandqsuchthat:(i)p+q+1,p+q1,p+q2P(Allprimes)?(ii)p+q+1,p+q1,p+q2,pq2P(Allprimes)?
Commented by prakash jain last updated on 03/Jul/17
p+q+1 is prime.  If p is 6n+1, q canot be 6m+1  since p+q+1=6(n+m)+3 ∉P  p=6n+1  q=6m−1  p+q−1=6(n+m)−1 possibly a prime.  ((p+q)/2) is a prime=3(n+m) is prime  not possible.  so at least one of p amd q is 3  ⇒q=3  now we need to find a prime p  4+p is prime  2+p is prime  ((3+p)/2) is prime.  ((p−3)/2) is prime.  p=6n−1,p+4=6n+3 not a prime.  p=6n+1,p+2=6n+3 not a prime.  There are no 2 prime p and q  which satisfy the given four  conditions.  Please review.
p+q+1isprime.Ifpis6n+1,qcanotbe6m+1sincep+q+1=6(n+m)+3Pp=6n+1q=6m1p+q1=6(n+m)1possiblyaprime.p+q2isaprime=3(n+m)isprimenotpossible.soatleastoneofpamdqis3q=3nowweneedtofindaprimep4+pisprime2+pisprime3+p2isprime.p32isprime.p=6n1,p+4=6n+3notaprime.p=6n+1,p+2=6n+3notaprime.Thereareno2primepandqwhichsatisfythegivenfourconditions.Pleasereview.
Commented by RasheedSoomro last updated on 03/Jul/17
(i) p+q+1 ⇒    3+7+1=11  (ii) p+q−1  ⇒  3+11−1=13  (iii)((p+q)/2)      ⇒  ((7+31)/2)=19  (iv)((p−q)/2)    ⇒((19−13)/2)=3  More than two conditions to be   satisfied simultaneously is required.
(i)p+q+13+7+1=11(ii)p+q13+111=13(iii)p+q27+312=19(iv)pq219132=3Morethantwoconditionstobesatisfiedsimultaneouslyisrequired.
Commented by RasheedSoomro last updated on 04/Jul/17
Lot of thanks for my math-guru!
Lotofthanksformymathguru!
Commented by RasheedSoomro last updated on 04/Jul/17
I love your strategy to attack the problem!  (I had forgotten (6n+k)-approach, explained  by you in past questions)  Now I can use it for two/three conditions.  I-e ((p+q)/2) &((p−q)/2) be both prime etc
Iloveyourstrategytoattacktheproblem!(Ihadforgotten(6n+k)approach,explainedbyyouinpastquestions)NowIcanuseitfortwo/threeconditions.Iep+q2&pq2bebothprimeetc
Commented by prakash jain last updated on 05/Jul/17
For (i) three conditons  p+q+1 prime  p+q−1 prime  ((p+q)/2) prime  case p=6m+1,q=6n−1  p+q+1 not possible  case p=6m+1,q=6n+1  ((p+q)/2) not possible  so one of p and q is either 2 or 3.  2 is ruled out since there is only  one even prime we need sum of  of two distinct primes to be even.  p=3,q=6n+1  p+q+1=6n+4∉P  p=3 ,q=6n−1  p+q−1=6n+2∉P  p=q=2 is only option.
For(i)threeconditonsp+q+1primep+q1primep+q2primecasep=6m+1,q=6n1p+q+1notpossiblecasep=6m+1,q=6n+1p+q2notpossiblesooneofpandqiseither2or3.2isruledoutsincethereisonlyoneevenprimeweneedsumofoftwodistinctprimestobeeven.p=3,q=6n+1p+q+1=6n+4Pp=3,q=6n1p+q1=6n+2Pp=q=2isonlyoption.

Leave a Reply

Your email address will not be published. Required fields are marked *