Holiday shopping

Below we plot the number of ways to come up with change for various amounts up to $1.00.   In red, we just allow the usual: namely, pennies, nickels, dimes and quarters.   In green we plot the number of ways to do so allowing for a half-dollar coin and a dollar coin as well.   So, next time you have to come up with $.99 while waiting in line at the cash register, you have to decide which among the 213 ways to come up with $.99 you want to use (if you use the usual coins; you'll have 252 choices to ponder if you allow a half dollar coin as well).  (Similarly, surpisingly, there are 293, and 242, ways, respectively, to make change for a dollar, depending on whether you allow use of half-dollar and dollar coins, or not.)

How can we deduce the number of options? We can use a generating function approach for this; expanding out the product of p[x]=1+x+x2+... times n[x]=1+x5+x10+... times d[x]=1+x10+x20+... times q[x]=1+x25+x50+... , then looking at the coefficient of x99 and x100, and so on. (This approach can thus be made accessible to someone who has had high school algebra I.)

[Graphics:Images/index_gr_1.gif]

[Graphics:Images/index_gr_2.gif]

Questions?  Contact Rick Kreminski (kremin@boisdarc.tamu-commerce.edu)


Converted by Mathematica      November 25, 2003