Q1.
Jincy opened her piggy bank. She found 8 coins of ₹1, 9 coins of ₹2 and 5 coins of ₹5. She wants to buy stickers worth ₹38. What possible combination of coins can she use to pay the exact amount?
Answer
There are eleven different ways. Here are three easy ones to start with.
- 5 coins of ₹5 + 6 coins of ₹2 + 1 coin of ₹1 = 25 + 12 + 1 = ₹38
- 4 coins of ₹5 + 9 coins of ₹2 = 20 + 18 = ₹38
- 3 coins of ₹5 + 9 coins of ₹2 + 5 coins of ₹1 = 15 + 18 + 5 = ₹38
How to search in an orderly way
- First see how much money she has in all: 8 × 1 = ₹8, 9 × 2 = ₹18, 5 × 5 = ₹25. Total ₹51. That is more than ₹38, so it can be done.
- Start with the biggest coins. Decide how many ₹5 coins to use — she has at most 5.
- Whatever is left must be made from ₹2 and ₹1 coins, using at most 9 twos and at most 8 ones.
- Write down every case that fits.
| ₹5 coins | ₹2 coins | ₹1 coins | Total |
|---|---|---|---|
| 5 | 3 | 7 | ₹38 |
| 5 | 4 | 5 | ₹38 |
| 5 | 5 | 3 | ₹38 |
| 5 | 6 | 1 | ₹38 |
| 4 | 5 | 8 | ₹38 |
| 4 | 6 | 6 | ₹38 |
| 4 | 7 | 4 | ₹38 |
| 4 | 8 | 2 | ₹38 |
| 4 | 9 | 0 | ₹38 |
| 3 | 8 | 7 | ₹38 |
| 3 | 9 | 5 | ₹38 |
Why she cannot use 2 or fewer ₹5 coins: With only 2 five-rupee coins she has ₹10 from them. The most she can add is 9 × 2 + 8 × 1 = 18 + 8 = ₹26. Together that is only ₹36, which is short of ₹38.
Check one row: 4 fives + 7 twos + 4 ones = 20 + 14 + 4 = ₹38 ✓ And she owns enough of each coin: 4 ≤ 5, 7 ≤ 9, 4 ≤ 8.