Let p , q and r be prime numbers such that
p q r = 1 9 ( p + q + r ) .
What is the value of p 2 + q 2 + r 2 ?
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.
Allow me to expand your brilliant solution.
We have: p q r = 1 9 ( p + q + r )
Since we have a product of three primes on the left hand side, let's look at the factors of the right hand side. Note that 1 9 is the first factor. Therefore p q r is divisible by 1 9 .
Note that 1 9 is a prime. Therefore, according to the Fundamental Theorem of Arithmetic , one of p , q , r must be 1 9 . Without loss of generality, let p be 1 9 .
The equation now becomes: 1 9 q r = 1 9 ( 1 9 + q + r )
Simplify it to obtain: q r = q + r + 1 9
Arrange so that only constant is on the right hand side: q r − q − r = 1 9
The left hand side cannot be completely factorized now: q ( r − 1 ) − r = 1 9
Add one to both sides to make ( r − 1 ) appear so as to obtain common factor: q ( r − 1 ) − ( r − 1 ) = 1 9 + 1
Factorize: ( q − 1 ) ( r − 1 ) = 2 0
From this we can see that ( q − 1 ) and ( r − 1 ) are factors of 2 0 .
Without loss of generality, we can let ( q − 1 ) be the smaller factor.
Factors of 2 0 : 1 , 2 , 4 , 5 , 1 0 , 2 0
Only q = 3 , r = 1 1 give us both primes.
Therefore, p = 1 9 , q = 3 , r = 1 1 , and p 2 + q 2 + r 2 = 4 9 1 .
===========================================
Notes:
Other solutions are:
Log in to reply
Great solution.!!
I did the same way!
Even i had the same soln.....
Why p = 19? Why not 38, 57, ..., (19k) ?
Exactly how I solved. Well done
First note that the expression is completely symmetric. Since ( p , q , r ) ∈ P 3 , we let p = 1 9 . Then we get q r = 1 9 + q + r . Rearranging and factorizing gives us ( q − 1 ) ( r − 1 ) = 2 0 = 2 × 1 0 . So we have a pair ( q , r ) = ( 3 , 1 1 ) of primes. Thus the answer is 3 2 + 1 1 2 + 1 9 2 = 4 9 1 .
This solution is not clear. Why must we have 2 0 = 2 × 1 0 instead of 2 0 = 4 × 5 ?
20 = 2 x 10 isn't make sense. In fact, we must solve the integer equation and chose a prime pairs. So I think other answer like Paola Ramírez or Alexandre Miquilino is more percise
Why p=19??????'
Log in to reply
Rewrite the given expression: 1 9 p q r = p + q + r So 1 9 ∣ p q r . Since 1 9 is a prime, by Euclid's lemma, 1 9 divides one of p , q , r . Noting the symmetry we WLOG assume 1 9 ∣ p . Since p is a prime, p = 1 9 .
Log in to reply
what is WLOG?
because the expression is completely symmetric. No matter which number in three given numbers is equal 19
Check again, I think (q-1).(r-1)=18.
Log in to reply
No, the solution writer is correct.
We have that q r − q − r = 1 9 . Adding one to both sides, we get q r − q − r + 1 = 2 0 . Factorizing, we conclude ( q − 1 ) ( r − 1 ) = 2 0 .
The answer can also be 19 ,21 ,and 2 hence 806
Log in to reply
@Ritesh Yadav observe that p,q,&r are primes ....... as you state... 21 cannot be prime!
p q r = 1 9 ( p + q + r )
Either one of p , q or r is equal to 1 9 , given all of them are prime numbers.
WLOG, let's assume p = 1 9 . Then:
q r = 1 9 + q + r
q r − q = 1 9 + r
q = r − 1 1 9 + r = 1 + r − 1 2 0
Let's test a few values of r to determine q .
r = 2 → q = 2 1 ; untrue because q is not prime.
r = 3 → q = 1 1 ; valid solution; both r and q are prime.
r = 5 → q = 6 ; untrue because q is not prime.
r = 7 → q = 3 1 3 ; untrue because q is not prime, let alone an integer.
r = 1 1 → q = 3 ; valid solution, symmetric to the previous one we found with r = 3 .
r = 1 3 → q = 3 8 ; untrue because q is not prime, let alone an integer.
r = 1 7 → q = 3 8 ; untrue because q is not prime, let alone an integer.
r = 1 9 → q = 3 8 ; untrue because q is not prime, let alone an integer.
For any r greater than 2 1 we don't even bother looking for a solution because then q would not be an integer.
Thus, any solution of the equation given the conditions is a permutation of ( 3 , 1 1 , 1 9 ) . Thus, the sum asked equals: 3 2 + 1 1 2 + 1 9 2 = 9 + 1 2 1 + 3 6 1 = 4 9 1 .
Nice Explanation...!!
This is exactly how I did it!
Simple sol:
p q r = 1 9 ( p + q + r )
p=19
q r = 1 9 + q + r =
( q − 1 ) ( r − 1 ) = 2 0
q,r are ≤ 19
both can only be:
{3,5,7,11,13,17,19}
so
( q − 1 ) would be only {2,4,6,10,12,16,18}
if q=3 then r=11 both are primes doing this with the other possible results we end up with only {19,11,3}
so result would be 1 9 2 + 1 1 2 + 3 2 = 4 9 1
p should be 19, without loss of generality. Let q=2 m+1 and r=2 n+1 (Neither q nor r can be equal to 2 - the only even prime number, that can be easily checked). Putting the above variables into the given equation results in m*n=5. Considering m and n are positive whole numbers, without the loss of generality we end up with m=1 and n=5, which gives us q=3 and r=11.
since RHS is amultiple of 19 so lhs should also contain 19 and p,q,r are primes then one of p,q or r should be 19 as 19 is also a prime. Let r be 19 so we are left with (q,p) which can be either (11,3) or (3,11) so p=3 or 11,q=11 or 3 and r=19
So sum of squares =491
This solution is not entirely clear. You didn't explain how ( 1 1 , 3 ) and ( 3 , 1 1 ) are solutions.
Used Octave (MatLab) to brute force my way into an answer:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
1 2 3 4 5 6 7 8 9 |
|
Would be rather simple to make on TI-basic, too. In this case, i, j, and k can be extended to 95 (not just the 75 they are at now) since there are 95 primes from 1 to 500. I figured that it was already overkill, but with a little patience this could have been used to find much higher primes.
Just wanted to mention that since there is only one value of p^2 + q^2 + r^2 , we only need to consider one successful case, which, in my case, was (p, q, r) = (19, 3, 11)
p(qr) =19(p+q+r)
consider p = 19
then qr = p+q+r
since p,q,r are prime nos.
it is possible iff
when q=11,3
r =3,11
p=19
q=3
r=11
ans =361 +121 + 9
=491
Problem Loading...
Note Loading...
Set Loading...
without loss of generality p = 1 9 becasuse 1 9 ∣ p q r also can be r o q .
q r = 1 9 + q + r
( q − 1 ) ( r − 1 ) = 2 0
q − 1 = 1 , 2 , 4 , 5 , 1 0 , 2 0 ) ⇒ q can be 2 , 3 , 5 , 1 1
If q = 2 ⇒ r = 2 1 so r is not a prime.
If q = 3 ⇒ r = 1 1 so r is a prime. ⋆
If q = 5 ⇒ r = 6 so r is not a prime.
If q = 1 1 ⇒ r = 3 so r is a prime. ⋆
So p = 1 9 , q = 3 , r = 1 1 ∴ p 2 + q 2 + r 2 = 4 9 1