document.write( "Question 152564: how many ways to make change for one dollar using nickels, dimes and quarters \n" ); document.write( "
Algebra.Com's Answer #299461 by richard1234(7193)![]() ![]() You can put this solution on YOUR website! You can compute the number of ways to make change for $1 using a bijection. We let n, d, q be the number of nickels, dimes, and quarters, and \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Suppose we want to find the number of ways to make 20 cents *without* using a five cent piece.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Case 0: We wish to make 0 cents --> 1 way (just use no coins) \n" ); document.write( "Case 1: We wish to make 1 cent --> 1 way 2*0 + 1*1 \n" ); document.write( "Case 2: We wish to make 2 cents --> 2 ways 2*1 + 1*0; 2*0 + 1*2 \n" ); document.write( "Case 3: We wish to make 3 cents --> 2 ways 2*1 + 1*1; 2*0 + 1*3 \n" ); document.write( "Case 4: We wish to make 4 cents --> 3 ways 2*2 + 1*0; 2*1 + 1*2, 2*0 + 1*4 \n" ); document.write( "Case 5: We wish to make 5 cents --> 3 ways 2*2 + 1*1, 2*1 + 1*3, 2*0 + 1*5\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can prove using either induction or modular arithmetic that the number of ways to make n cents in this way is \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Similarly, we can count the number of ways to obtain 20 cents using one five-cent piece. However, we can subtract off the five-cent piece and say that this is analogous to computing the number of ways to obtain 15 cents. Hence, this is equal to \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For 10, 5, and 0 cents, we have \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Note: the other tutor counted 293 ways, however this included pennies and half dollars, which was not stated in the question. To count the number of ways using pennies, nickels, dimes, and quarters, you can also use a bijection, but instead of counting the number of ways to obtain 20 cents, you evaluate at 20, 19, 18, ..., 0 since this will uniquely determine the number of pennies. We do the same with 15, 10, 5, and 0 to obtain sums:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Then, if you want half dollars involved, it is equal to |