0 Members and 1 Guest are viewing this topic.
I believe the solution is to carry no change.Whatever the cost of your purchase is and whatever coins you have, you can ensure you leave with the minimum amount of change possible by giving the vendor all of your change. Whatever coins properly contribute to the payment, the vendor will keep; the coins that do not will be returned to you. Since the cents amount of the purchase is an equally-distributed random number, subtracting your constant amount of change from this will result in another equally-distributed random number (mod 100). Whatever amount of change you contribute, the vendor will always have to return to you coins that sum to an equally-distributed random amount of cents from 0-99.You cannot limit the amount of coins you end with, so the optimal solution is simply to limit the amount of coins you begin with.
So, no one likes to carry around change (coins) and my question is, what coins should you enter a store with so that sum of the number of coins you enter a store and leave a store with is at a minimum?The general idea here is that you basically want to carry the least amount of change. So, the way this works, is you pick E number of coins to enter with, after buying your items (which have random number of cents) you leave with L number of coins. You want to minimize L + E.Rules: We're using American coins, so the choices are: penny - .01, nickel - .05, dime - .10, quarter - .25 (no half dollars, too rare ) The number of cents your purchase costs is random (So, a purchase would cost some dollar amount + [0 - 99] cents) You receive the minimum number of coins from the cashier ($.90 is not 9 dimes)
Quote from: thepenguin77 on June 25, 2012, 11:49:00 pmSo, no one likes to carry around change (coins) and my question is, what coins should you enter a store with so that sum of the number of coins you enter a store and leave a store with is at a minimum?The general idea here is that you basically want to carry the least amount of change. So, the way this works, is you pick E number of coins to enter with, after buying your items (which have random number of cents) you leave with L number of coins. You want to minimize L + E.Rules: We're using American coins, so the choices are: penny - .01, nickel - .05, dime - .10, quarter - .25 (no half dollars, too rare ) The number of cents your purchase costs is random (So, a purchase would cost some dollar amount + [0 - 99] cents) You receive the minimum number of coins from the cashier ($.90 is not 9 dimes)You enter with no coins & you leave with no coins, and that is the least amount of change you have to bring. If you want to buy something, use a credit card ;)
That's cheating.Let's break up in denomination of less than $1, 25¢, 10¢ and 5¢, respectively.So to make anything less than $1, you'll need 3 quarters max.Less than 25¢: 2 dimes max.Less than 10¢: 1 nickel max.Less than 5¢: 4 pennies max.So 3 quarters, 2 dimes, 1 nickel and 4 pennies will make anything 1-99¢. The amount of coins when you enter will be at minimum and when you go out will also be at minimum since the cashier won't give you any change.Or else you can carry one $1 coin (we have that in Canada, dunno in US) and the cashier will give minimum change.