Diophantine Equation - Basic

Let p p and q q be primes that satisfy 5 p + 3 q = 19 5p + 3q = 19 .

Find p × q p \times q .


The answer is 6.

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.

1 solution

It is evident that one of p , q p, q must be even, because if both are even or both are odd, 5 p + 3 q 5p + 3q will be even, which isn't true.

Now, since p , q p,q are primes and 2 2 is the only even prime, we have 2 cases :

Case-I : If q = 2 q = 2 , p = 19 3 ( q ) 5 = 13 5 p = \dfrac{19-3(q)}{5} = \dfrac{13}{5} , which can't be true as p p is a prime too.

Case-II : If p = 2 p = 2 , q = 19 5 ( p ) 3 = 3 q = \dfrac{19-5(p)}{3} = 3 .

Therefore, ( p , q ) = ( 2 , 3 ) (p, q) = (2, 3) is the only possible solution, and hence p q = 3 × 2 = 6 pq = 3 \times 2 = \boxed{6} .

Moderator note:

Great observation that one of the primes must be 2. The problem could be improved by choosing a larger total, since otherwise we just need to check p = 1 , 2 , 3 , 4 p = 1, 2, 3, 4 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...