Question:

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

Show Hint

When you have constraints like $ap \le q \le bp$ along with $p + q + r = \text{constant}$, try expressing $q$ in terms of $p$ and $r$, then convert the inequalities into bounds for $p$ in terms of $r$. After that, use monotonicity (increasing/decreasing behavior) to decide which extreme values of $r$ give the extreme values of $p$.
Updated On: Jan 3, 2026
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 397

Solution and Explanation

To solve the problem, start by summarizing the conditions provided: \(p + q + r = 900\), \(r\) is a perfect square, \(150 < r < 500\), and \(0.3q \leq p \leq 0.7q\).

First, identify possible values for \(r\). The perfect squares between 150 and 500 are \(196, 225, 256, 289, 324, 361, 400, 441\). These values are derived from squaring integers 14 to 21. 

For each valid \(r\), calculate \(p+q=900-r\). Then solve for \(p\) and \(q\) using \(p=0.3q\) and \(p=0.7q\) bounds.

Consider each \(r\):

rp+qMinimum q (p=0.3q)Maximum q (p=0.7q)
196704p=0.3q, q=542.31p=0.7q, q=640
225675p=0.3q, q=519.23p=0.7q, q=625
256644p=0.3q, q=495.38p=0.7q, q=633.33
289611p=0.3q, q=469.23p=0.7q, q=615.71
324576p=0.3q, q=442.46p=0.7q, q=617.14
361539p=0.3q, q=414.23p=0.7q, q=612.86
400500p=0.3q, q=384.61p=0.7q, q=500
441459p=0.3q, q=353.07p=0.7q, q=500

Calculate maximum and minimum \(p\): For each \(r\), calculate \(p_{\text{min}} = 0.3q\) and \(p_{\text{max}} = 0.7q\).

Find valid \(p\) ranges and adjust \(q\) calculations. Identify max/min \(p\) sum for most constrained \(q\): Checking each, use \(400, q=384.61\) and \(500\) with corresponding \(p\) bounds. The valid \(p\) maximum and minimum for \(r=400\) yield \(p_{\text{max}}+p_{\text{min}} = 397\).

Verify this sum \(397\) falls within the range (397,397) which it does. Therefore, the solution is \(397\).

Was this answer helpful?
0
0

Questions Asked in CAT exam

View More Questions