Question 29318: Suppose a country has only two denominations of conins: 5 cent conins and 7 cent coins. Determine all monetary values that can be obtained using only coins.
Answer by bmauger(101) (Show Source):
You can put this solution on YOUR website! Problem 29214 just answered the question. Basically start with five cent nickels, and see which numbers you can eliminate at every five (5, 10, 15, 20...) Then add a seven cent piece, and then mark off every 5 which you can get to by adding five cent pieces (7, 12, 17, 22...) and keep going adding another seven cent piece and then adding nickels.
|
|
|