Difference of primes

p 2 3 q = 64 \large p^{2}-3q=64

If p p and q q are positive prime numbers that satisfy the equation above, find the value of p + q p+q .


The answer is 30.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Anthony Muleta
Nov 23, 2015

Rearrange the equation as 3 q = p 2 64 = p 2 8 2 = ( p + 8 ) ( p 8 ) 3q=p^{2}-64=p^{2}-8^{2}=(p+8)(p-8) .

Since q q is prime, 3 q 3q has only two factors 3 3 and q q , so either p + 8 = 3 p+8=3 or p 8 = 3 p-8=3 .

The first equation tells us that p = 5 p=-5 which cannot occur as p > 0 p>0 , so we conclude that p p satisfes the second equation and is equal to 11 11 . Substituting p = 11 p=11 into 3 q = ( p + 8 ) ( p 8 ) 3q=(p+8)(p-8) gives 3 q = 19 3 3q=19*3 and so q = 19 q=19 . Hence p + q = 11 + 19 = 30 p+q=11+19=\boxed {30} .

Since 3 q 3q can be factored as both 3 q 3*q and 1 ( 3 q ) 1*(3q) , for sake of completeness we would also have to look at the possibility that either p + 8 = 1 p + 8 = 1 or p 8 = 1. p - 8 = 1. As neither of these cases lead to a prime value for p , p, we then know that either p + 8 = 3 p + 8 = 3 or p 8 = 3. p - 8 = 3.

Brian Charlesworth - 5 years, 6 months ago
Adnan Khan
Nov 27, 2015

Logically....>given that p and q are prime no.and according to eqn p^2 must be greater tham 3q hence only 11 is a no whose square will be greater hence p=11.now. 11^2=121 121-64=57 57/3=19 Hence q=19

Siva Prasad
Dec 30, 2015

1 1 2 ( 3 × 19 ) = 64 \Large 11^{2}-(3 \times 19) = 64

Eric Belrose
Dec 17, 2015

Since both are positive p must be greater than 7 .... Subbed first possible value and low and behold it worked.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...