CAT 2017 Slot 1 — QA Question 25
Fundamental Principles of P&CEasy
The number of solutions (x, y, z) to the equation x – y – z = 25, where x, y, and z are positive integers such that x ≤ 40, y ≤ 12, and z ≤ 12 is
Answer & solution
Correct answer: 99
- A
101
99
- C
87
- D
105
Solution
Easy
Solve for to bound it, then count the integer pairs that fit. Each valid fixes uniquely, so counting pairs counts solutions.
1
Express and find its range. From the equation . Since , the smallest is ; and is given.
2
Count integer pairs with and . For a fixed sum , the number of pairs in is when and when .
3
Add up. Total number of triples .