Skip to main contentSkip to solution

An ATM dispenses exactly Rs. 50005000 per withdrawal using 100100, 200200 and 500500 rupee notes. The ATM requires every customer to give her preference for one of the three denominations of notes. It then dispenses notes such that the number of notes of the customer’s preferred denomination exceeds the total number of notes of other denominations dispensed to her.

What is the maximum number of customers that the ATM can serve with a stock of fifty 500500 rupee notes and a sufficient number of notes of other denominations, if all the customers are to be served with at most 2020 notes per withdrawal?

Solution

✅ Correct Option: 1

Maximum Rs. 500 Preference Customers

Key Insight

The question asks for maximum total customers, not maximum customers preferring Rs. 500500 notes.

Strategy: Minimize Rs. 500 notes per customer

To serve maximum customers, find the minimum Rs. 500500 notes needed per customer while satisfying:

  1. At most 2020 notes total
  2. Preferred denomination dominates

Case Analysis

Rs. 100 Preference (x>y+zx > y+z)

Need minimum Rs. 500500 notes while keeping total ≤20\leq 20.

  • Testing z=0z=0: 100x+200y=5000  ⇒  x+2y=50100x+200y=5000 \;\Rightarrow\; x+2y=50

Minimum satisfying x>yx>y: (x=34,y=8)(x=34,y=8) → 4242 notes >20>20 ✗

  • Testing z=2z=2: 100x+200y=4000  ⇒  x+2y=40100x+200y=4000 \;\Rightarrow\; x+2y=40

Try (x=20,y=10)(x=20,y=10): 20>10+2=1220>10+2=12 ✓, total =32=32 notes >20>20 ✗

  • Testing z=4z=4: 100x+200y=3000  ⇒  x+2y=30100x+200y=3000 \;\Rightarrow\; x+2y=30

Try (x=16,y=7)(x=16,y=7): 16>7+4=1116>7+4=11 ✓, total =27=27 notes >20>20 ✗

  • Testing z=5z=5: 100x+200y=2500  ⇒  x+2y=25100x+200y=2500 \;\Rightarrow\; x+2y=25

Try (x=13,y=6)(x=13,y=6): 13>6+5=1113>6+5=11 ✓, total =24=24 notes >20>20 ✗

  • Testing z=6z=6: 100x+200y=2000  ⇒  x+2y=20100x+200y=2000 \;\Rightarrow\; x+2y=20

Try (x=12,y=4)(x=12,y=4): 12>4+6=1012>4+6=10 ✓, total =22=22 notes >20>20 ✗

  • Testing z=7z=7: 100x+200y=1500  ⇒  x+2y=15100x+200y=1500 \;\Rightarrow\; x+2y=15

Try (x=11,y=2)(x=11,y=2): 11>2+7=911>2+7=9 ✓, total =20=20 notes ✓

Rs. 100 preference minimum: 77 Rs. 500500 notes


Rs. 200 Preference (y>x+zy > x+z)

  • Testing z=0z=0: x+2y=50x+2y=50, need y>xy>x.

Minimum (x=0,y=25)(x=0,y=25) → 2525 notes >20>20 ✗

  • Testing z=2z=2: x+2y=45x+2y=45, need y>x+2y>x+2.

Try (x=1,y=22)(x=1,y=22): 22>1+2=322>1+2=3 ✓, total =25=25 notes >20>20 ✗

  • Testing z=4z=4: x+2y=30x+2y=30, need y>x+4y>x+4.

Try (x=0,y=15)(x=0,y=15): 15>0+4=415>0+4=4 ✓, total =19=19 notes ✓

Try (x=2,y=14)(x=2,y=14): 14>2+4=614>2+4=6 ✓, total =20=20 notes ✓

Rs. 200 preference minimum: 44 Rs. 500500 notes


Rs. 500 Preference

From earlier analysis: minimum 88 Rs. 500500 notes.


Optimization

Minimum Rs. 500500 notes per customer by preference:

  • Rs. 500500 preference: 88 notes
  • Rs. 200200 preference: 44 notes
  • Rs. 100100 preference: 77 notes

To maximize total customers:

Use all customers with Rs. 200200 preference (each 44 Rs. 500500 notes).

Maximum customers =⌊504⌋=12= \left\lfloor \dfrac{50}{4} \right\rfloor = 12.


Maximum customers the ATM can serve: 1212

All 1212 customers would prefer Rs. 200200 notes, each using 44 Rs. 500500 notes.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question