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
397
Step-by-Step Solution
This is a constrained integer optimisation question, recognisable because we need max and min of p subject to sum, perfect-square, and ratio constraints.
Step 1: Set up the constraints.
, all natural numbers.
is a perfect square with .
.
Step 2: Identify valid values of r.
Perfect squares between 150 and 500:
Step 3: Express bounds on p.
From , we get .
From :
From :
Step 4: Maximise p (use smallest r = 169).
Check: . . Valid.
So .
Step 5: Minimise p (use largest r = 484).
Check: . . Valid.
So .
Step 6: Compute the answer.
Answer: 397