CAT 2020 Slot 2 — QA Question 6
Number TheoryEasy
If x and y are non-negative integers such that x + 9 = z, y + 1 = z and x + y < z + 5, then the maximum possible value of 2x + y equals
Answer & solution
Answer: 23
Solution
Easy
Express and in terms of using the two equalities, feed them into the inequality to bound , then write as a linear function of and use the largest allowed integer .
1
Express in terms of . From the two equations:
2
Apply the inequality. Substitute into .
Also requires , so is an integer with the largest value .
3
Maximise . Write it in and use .