View Single Post
  #2  
Old 08-28-2005, 11:18 AM
AaronBrown AaronBrown is offline
Senior Member
 
Join Date: May 2005
Location: New York
Posts: 505
Default Re: Making change probability question

You don't need brute force. If you have exactly a dollar, then of course you have change for a dollar. If you have more than a dollar then you have change for a dollar except for one case, three quarters and three dimes.

Therefore, figure out the expected number of coins you draw before getting $1.00 or more; and subtract off the correction for three quarters/three dimes.

This works for the other variants as well.
Reply With Quote