Penny = 1 ¢
Nickel = 5 ¢
Dime = 10 ¢
These problems really fk with ur mind.....but first u gotta figure out possible scenarios......and sub scenarios......
We gotta make $ 1.50 in many ways.....with penny, nickel and dime.......
1. All penny
[ Can be done in only 1 way ]
2. All nickel
[ Can be done in only 1 way ]
3. All dime
[ Can be done in only 1 way ]
4. Any two
>> 4.1. penny and nickel
[ We gotta take penny multiple of 5 times...example 5 penny, 15 penny, 70 penny....etc ...... otherwise nickel worth 5 ¢ wont match $ 1.50 .......so minimum we can take is 5 penny....and maximum we can take is 145 penny when other ¢ 5 will be nickel.....so total scenario here is 145 / 5 = 29 ....... ]
>> 4.2. nickel and dime
[ We gotta make multiple of 10 ¢ with nickel and others will be dimes......example 2 nickel = 10 ¢ ......4 nickel = 20 ¢...... otherwise dime worth 10 ¢ wont match $ 1.50 ........so minimum we must make 10 ¢ with nickel.....and maximum we can make 140 ¢ with nickel when other 10 ¢ will be a dime......so total scenario here = 140 / 10 = 14 ...... ]
>> 4.3. penny and dime
[ We gotta make multiple of 10 with penny and others will be dimes......example 10 penny, 20 penny, 70 penny ...etc..... otherwise dime worth 10 ¢ wont match $ 1.50 ........so minimum we can take 10 penny.....and maximum we can take 140 penny.....when other 10 ¢ will be a dime......so total scenario here = 140 / 10 = 14 ...... ]
5. All three
[ If we take 1 dime = 10 ¢ ...... Other 140 ¢ will be made with penny and nickel.....so then.... minimum we can
take 1 nickel = 5 ¢ ....when others will be penny.....and maximum we can take 27 nickel = 135 ¢ .....and other 5 ¢ will be penny....so total scenario = 135 / 5 = 27 ........
Likewise......if we take 2 dime = 20 ¢ ...... total scenario will be = 25 .......
If we take 3 dime = 30 ¢ ..... total scenario will be = 23......
..................................lastly if we take 14 dime = 140 ¢ ..... total scenario will be = 1
So.....all scenario when we take all three = 27 + 25 + 23 .... 1 = 196 ...... ]
Now.....all scenario to make $ 1.50 with them...... 1 + 1 + 1 + 29 + 14 + 14 + 196 = 256 .......
! nah id win!