document.write( "Question 29214: Suppose a country has only two denomination of coins: $0.05 coins and $0.07 coins. Determine all monetry values that can be obtained using only coins. \n" ); document.write( "
Algebra.Com's Answer #16029 by bmauger(101)\"\" \"About 
You can put this solution on YOUR website!
Start with your 5 cent piece. With it by itself you can come up with the values (in pennies) of:
\n" ); document.write( "5, 10, 15, 20, 25... etc. e.g. all values divisible by 5 can be paid for.
\n" ); document.write( "Now with a 7 cent piece and three five cent pieces you can come up:
\n" ); document.write( "7, 12, 17, 22, 27
\n" ); document.write( "And with two 7 cent pieces and two nickels you can come up with:
\n" ); document.write( "7, 14, 19, 24
\n" ); document.write( "Three 7-cent pieces & a nickel you can come up with:
\n" ); document.write( "7, 14, 21, 26
\n" ); document.write( "Four 7-cent pieces...
\n" ); document.write( "7, 14, 21, 28
\n" ); document.write( "Now looking at the list you'll see that we have values of:
\n" ); document.write( "24=two seven cent pieces and two nickels
\n" ); document.write( "25=five nickels
\n" ); document.write( "26=three seven cent pieces and one nickel
\n" ); document.write( "27=one seven cent piece and four nickels AND
\n" ); document.write( "28=four seven cent pieces
\n" ); document.write( "Since that covers 5 numbers in a row (24 through 28) you can create every number above by adding more nickels to one of the five numbers.

\n" ); document.write( "For instance 106=26 + 80 = three seven cent pieces + (1 + 16) nickels...
\n" ); document.write( "\"3%287%29%2B17%285%29=21%2B85=106\" (Granted there might be other ways to get to 106, but the point is we can get to any value adding nickels to one of these combinations)

\n" ); document.write( "So you can make every number above 24 cents, plus all the other numbers listed:
\n" ); document.write( "Your answer then is:
\n" ); document.write( "5, 7, 10, 12, 14, 15, 17, 19, 20, 21, 22, and 24 and above.
\n" ); document.write( "
\n" );