SOLUTION: What are the ways to generate 1 dollar using pennies, nickels, dimes, quarters, and half dollars? What is a mathematical method to find these?

Algebra.Com
Question 560990: What are the ways to generate 1 dollar using pennies, nickels, dimes, quarters, and half dollars? What is a mathematical method to find these?
Answer by richard1234(7193)   (Show Source): You can put this solution on YOUR website!
We can let p, n, d, q, and h be the number of pennies, ..., half dollars respectively. Hence we have



First, we can remove p because the number of pennies will be fixed once we decide how many of the other coins to use. Note that p must be a multiple of 5 because every other term in the equation is divisible by 5.

We have 5n + 10d + 25q + 50h = 5k, where k ranges from 0 to 20, inclusive. We can divide everything by 5 to obtain n + 2d + 5q + 10h = k. Here, it is easier to count the number of ways to form a valid equation. I believe the number of solutions for each k is some recursive function but I don't remember too well.

-----------
You can probably generate a recursive formula for the number of ways to create n cents. Note that the number of ways to make 101 cents, ..., 104 cents is the same as the number of ways to make $1, because only the number of pennies increases. Once you get to 105 cents, it becomes different.


RELATED QUESTIONS

What are all the ways to make change for a dollar using quarters, half-dollars, dimes,... (answered by solver91311)
What are some ways to get 50 cents using dimes, nickels, quarters and, pennies?... (answered by checkley77)
What are all of the possible combinations for one dollar using pennies, nickels, dimes,... (answered by Fombitz)
In a coin collection there are 9 pennies, 8 nickels, 12 dimes, 16 quarters, 11... (answered by ilana)
Araceli goes to the bank to get $10 worth of change. She requests twice as many quarters (answered by stanbon)
What are two ways to make 0.75 without using a half dollar or... (answered by josmiceli)
What are all the possible combinations for 50 cents using pennies, nickels, dimes, and... (answered by Fombitz)
Tim has $5.03 in quarters, nickels, dimes, pennies, and half-dollars in a desk drawer.... (answered by ankor@dixie-net.com)
Priscilla has pennies, Nate has nickels, Dem has dimes, Qasi has quarters, and Hawthorne... (answered by ankor@dixie-net.com)