Cheque Denomination Optimization

CAT 2022 Slot 3 · QA · Medium · Algebra

A donation box can receive only cheques of ₹100, ₹250, and ₹500. On one good day, the donation box was found to contain exactly 100 cheques amounting to a total sum of ₹15250. Then, the maximum possible number of cheques of ₹500 that the donation box may have contained, is

Answer

12

Explanation

Let x,y,zx, y, z be the number of ₹100, ₹250, and ₹500 cheques respectively. x+y+z=100— (1)x + y + z = 100 \quad \text{--- (1)} 100x+250y+500z=15250    2x+5y+10z=305— (2)100x + 250y + 500z = 15250 \implies 2x + 5y + 10z = 305 \quad \text{--- (2)}

Multiply (1) by 2: 2x+2y+2z=2002x + 2y + 2z = 200 Subtract from (2): 3y+8z=1053y + 8z = 105

We want to maximize zz. 8z=1053y=3(35y)8z = 105 - 3y = 3(35 - y) Since 8z8z is divisible by 3 and gcd(8,3)=1\gcd(8,3)=1, zz must be a multiple of 3.

Also, 8z105    z13.1258z \le 105 \implies z \le 13.125. Multiples of 3 less than 13: z=12,9,6,3,0z = 12, 9, 6, 3, 0.

For z=12z = 12: 8(12)=96    3y=10596=9    y=38(12) = 96 \implies 3y = 105 - 96 = 9 \implies y = 3 x=100312=85x = 100 - 3 - 12 = 85 Since x,y,z0x, y, z \ge 0, z=12z = 12 is valid.

Maximum possible number of ₹500 cheques is 12.

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace