Skip to main contentSkip to solution

Let p, q and r be three natural numbers such that their sum is 900, and r is a perfect square whose value lies between 150 and 500. If p is not less than 0.3q and not more than 0.7q, then the sum of the maximum and minimum possible values of p is

Entered answer:

Solution

✅ Correct Answer: 397

Given: p+q+r=900p + q + r = 900, where p,q,rp, q, r are natural numbers, rr is a perfect square with 150<r<500150 < r < 500, and 0.3q≤p≤0.7q0.3q \leq p \leq 0.7q.


Perfect squares between 150 and 500:

132=16913^2 = 169, 142=19614^2 = 196, ..., 222=48422^2 = 484

Smallest r=169r = 169 and Largest r=484r = 484


Since p+q+r=900p + q + r = 900, we get q=900−r−pq = 900 - r - p.

From p≤0.7qp \leq 0.7q:

p≤0.7(900−r−p)p \leq 0.7(900 - r - p)

p≤630−0.7r−0.7pp \leq 630 - 0.7r - 0.7p

1.7p≤630−0.7r1.7p \leq 630 - 0.7r

p≤7(900−r)17p \leq \dfrac{7(900 - r)}{17}

From p≥0.3qp \geq 0.3q:

p≥0.3(900−r−p)p \geq 0.3(900 - r - p)

p≥270−0.3r−0.3pp \geq 270 - 0.3r - 0.3p

1.3p≥270−0.3r1.3p \geq 270 - 0.3r

p≥3(900−r)13p \geq \dfrac{3(900 - r)}{13}


To maximize pp, use p≤7(900−r)17p \leq \dfrac{7(900 - r)}{17} with the smallest r=169r = 169:

pmax=7×73117p_{max} = \dfrac{7 \times 731}{17}

=511717= \dfrac{5117}{17}

=301= 301


To minimize pp, use p≥3(900−r)13p \geq \dfrac{3(900 - r)}{13} with the largest r=484r = 484:

pmin=3×41613p_{min} = \dfrac{3 \times 416}{13}

=124813= \dfrac{1248}{13}

=96= 96


pmax+pmin=301+96=397p_{max} + p_{min} = 301 + 96 = 397

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question