12
$\begingroup$

I was doing questions from previous year's exam paper and I'm stuck on this question.

Suppose $P, Q, R$ are positive integers such that $$PQR + PQ + QR + RP + P + Q + R = 1000$$ Find $P + Q + R$.

It seems easy but I am not getting the point from where I should start. Thank you.

$\endgroup$
4
  • 5
    $\begingroup$ Expand $(1+p)(1+q)(1+r)$ , not sure if it may help. $\endgroup$
    – Someone
    Commented May 5, 2015 at 5:57
  • 5
    $\begingroup$ It will help. But one should factorize 1001, and appeal to Unique Factorization Theorem $\endgroup$ Commented May 5, 2015 at 6:00
  • 2
    $\begingroup$ @Mann thank you for your comment. Your equation comes out to be the same as the question but what next!. I am not getting how to proceed further $\endgroup$
    – aMighty
    Commented May 5, 2015 at 6:03
  • $\begingroup$ @PVanchinathan Please explain. $\endgroup$
    – aMighty
    Commented May 5, 2015 at 6:06

2 Answers 2

33
$\begingroup$

Note that

$(1 + P) (1 + Q) (1 + R) = 1 + P + Q + R$ $+ PQ+ PR + QR + PQR = 1 + 1000 = 1001, \tag{1}$

by the hypothesis on $P$, $Q$, $R$; also,

$1001 = 7 \cdot 11 \cdot 13, \tag{2}$

all primes; thus we may take

$P = 6; \;\; R = 10; \;\; Q = 12, \tag{3}$

or some permutation thereof; in any event, we have

$P + Q + R = 28. \tag{4}$

Note Added in Edit, Saturday 12 August 2017 10:04 PM PST: The solution is unique up to a permutation of $(P, Q, R) = (6, 10 ,12)$ by virtue of the fact that $1001$ may be factored into three non-unit positive integers in exactly one way, $1001 = 7 \cdot 11 \cdot 13$, since $7$, $11$, and $13$ are all primes. This follows from the Fundamental Theorem of Arithmetic. These remarks added at the suggestion of user21820 made 5 May 2015. Sorry about the delayed response. End of Note.

$\endgroup$
12
  • 3
    $\begingroup$ Beat me to it. Once you spot the factorization, the rest is trivial. $\endgroup$
    – smci
    Commented May 5, 2015 at 9:08
  • 1
    $\begingroup$ @amighty: you're more than welcome! Blessings to you as well! And thanks for the "acceptance"! Cheers! ;-)! $\endgroup$ Commented May 5, 2015 at 9:40
  • 3
    $\begingroup$ Do add the justification why there are no other solutions. $\endgroup$
    – user21820
    Commented May 5, 2015 at 13:12
  • $\begingroup$ How should one go about solving this if you don't spot the factorization? $\endgroup$ Commented May 5, 2015 at 14:20
  • $\begingroup$ @GarethRees: It is possible to spot the factorization without prior knowledge - in my case, it began when I factored the first two terms into PQ(R+1), and I remarked that I could make the term (R+1) emerge elsewhere. $\endgroup$ Commented May 5, 2015 at 14:32
2
$\begingroup$

If you allow some $p,q,r$ to be $0$, you also get $$p+q+r=1000$$ $$p+q+r=88$$ $$p+q+r=100$$ $$p+q+r=148$$

for $$p=1000,q=0,r=0$$ $$p=76,q=12,r=0$$ $$p=90,q=10,r=0$$ $$p=142,q=6,r=0$$

respectively, or any permutation thereof.

$\endgroup$
8
  • 3
    $\begingroup$ Note that the question asked for positive $P, Q, R$. $\endgroup$ Commented May 5, 2015 at 17:36
  • 1
    $\begingroup$ Yep. Always fun to extend though! $\endgroup$ Commented May 5, 2015 at 17:41
  • $\begingroup$ Indeed! Excelsior! Cheers! $\endgroup$ Commented May 5, 2015 at 17:43
  • 1
    $\begingroup$ Yup, you can use the same method as before. The terms $(1+p),(1+q),(1+r)$ must be divisors of $1001$, so then we just go through them all. Location noted! $\endgroup$ Commented May 6, 2015 at 5:20
  • 1
    $\begingroup$ I haven't, but it's noted so that maybe I can get there some time in the future :) $\endgroup$ Commented May 6, 2015 at 5:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .