CAT 2023 Slot 2 — QA Question 16
Jayant bought a certain number of white shirts at the rate of Rs 1000 per piece and a certain number of blue shirts at the rate of Rs 1125 per piece. For each shirt, he then set a fixed market price which was 25% higher than the average cost of all the shirts. He sold all the shirts at a discount of 10% and made a total profit of Rs 51000. If he bought both colors of shirts, then the maximum possible total number of shirts that he could have bought is
Answer & solution
Answer: 407
Easy
Mark-up then discount act on the average cost, so the overall multiplier on total cost is — a flat profit. That turns the profit equation into one linear relation between the white count and blue count . To maximise , load up on the cheaper-coefficient shirt and use the fewest of the other (but at least one of each).
Selling price as a multiple of cost. Marked price average cost, sold at off:
Profit equation on total cost :
Simplify (divide by , then by ):
Maximise . Keep (bigger coefficient) as small as possible while staying a positive integer with also a positive integer. From , we need divisible by . Since is divisible by , we need — hence — divisible by . The smallest such is :
The maximum possible total number of shirts is .
Why fails: , not a multiple of . Stepping up, the first value making an integer (and ) is , which also maximises .