Q1.
Creative Chitti has some questions for you — (a) You have to make exactly 30 button presses. What is the largest 3-digit number you can make? What is the smallest 3-digit number you can make?
Answer
Largest = 993. Smallest = 102.
Largest: put as many presses as possible on +100.
(9 × 100) + (8 × 10) + (13 × 1)
= 900 + 80 + 13 = 993
Presses = 9 + 8 + 13 = 30 ✓
Smallest: put as few presses as possible on +100.
(0 × 100) + (8 × 10) + (22 × 1)
= 0 + 80 + 22 = 102
Presses = 0 + 8 + 22 = 30 ✓
(9 × 100) + (8 × 10) + (13 × 1)
= 900 + 80 + 13 = 993
Presses = 9 + 8 + 13 = 30 ✓
Smallest: put as few presses as possible on +100.
(0 × 100) + (8 × 10) + (22 × 1)
= 0 + 80 + 22 = 102
Presses = 0 + 8 + 22 = 30 ✓
Why it happens: With 30 presses fixed, moving one press from +1 to +100 adds 99 to the number. So to go large you load the +100 button — but you cannot press it 10 times (that alone is 1000, a 4-digit number), so 9 is the limit; the remaining 21 presses must make 93, and 8 tens + 13 ones does it. To go small you avoid +100 altogether; 30 presses of tens and ones must still reach at least 100, and 8 tens + 22 ones = 102 is the least such total.
Check it yourself: Could 101 be made? It would need 1 hundred + 0 tens + 1 one (2 presses) or 10 tens + 1 one (11 presses) — neither is 30, and no other split of 101 uses 30 presses. So 102 really is the smallest.