27 December 2010

Posted in Arrangement, Art, Business

Printing Money: A Better Way

20 Dollars art4Image via WikipediaSince the United States really likes to print money, thought I would do our civilization a favor and calculate the optimal set of bank notes to produce the fewest numbers of notes needed for any amount of cash under $1000. (You're on the edge of your seat, aren't you?)
Current State of AffairsIn the United States, there are six bills currently in fair-to-wide circulation: $1, $5, $10, $20, $50, $100. If you were to always use the biggest bills possible, then the average number of bills you would use on a given transaction where the total was less than $1000 (this is also assuming that all dollar amounts are equally likely) is 8.71. The most number of bills you would need would be for $999 => 9 $100 bills, 1 $50 bill, 2 $20 bills, 1 $5 bill, and 4 $1 bills. That's 17 bills. We can take that number down to 13 by introducing the $500, which I did for comparison's sake.

The Currency Mapper

So like any devoted computer programmer, I created a webpage to do this for me. You can play with it yourself at http://www.joshuacummings.com/monetary.html (it's written in Javascript, so you can see the code yourself by right-clicking and selecting 'View Source' when you get to the page). What you do is enter the denominations that you want to test in comma-delimited-no-spaces fashion. Like this: '1,5,10,20,50,100,500' or '1,2,3,4,5,6,7'. Then, click 'Go' and it will display your efficiency rating along with a breakdown of which bills would be necessary for which dollar amounts. Here is an example of the output for '1,5,10,20,50,100,500', or the current US currency:
As you can see, the average number of notes for that set-up is 6.702. The 'Efficiency' number is just averagebills * totaldenominations. In this case: 6.702 * 7 = 46.914. And, as said earlier, Max Notes is 13 since 5 $100 bills can be replaced with 1 $500 bill.

We can do better!

Of course, there is room for improvement with anything, even in a monetary system crafted and propagated without competition or accountability by a pseudo-governmental entity over the past 100 years.

Here are the top five denomination schema that I discovered. Consider them carefully:

#5 - $1,$5,$10,$20,$50,$100,$500

Our standard system doesn't do so bad, especially for small values. While it is still the least efficient of the five, it averaged only 4.21 bills for any dollar amount $100 or less. Not bad.

#4 - Powers of 3: $1,$3,$9,$27,$81,$243,$729

Aside from this lowering the average number of bills across the board, it also makes the dollar bills more uniform, making it easier to divide things out consistently. For example, if there were three of you, and you needed to divide $27 between the three of you. Sorry, you have four? My theory totally falls apart.

#3 - Squares: $1,$4,$9,$25,$64,$144,$289,$529

What about dollar amounts being perfect squares? The squares that I picked worked a little better for values under $100, but still outperformed the standard at both levels.

#2 - Fibanocci A: $1,$3,$8,$21,$55,$144,$377

Then, the Fibanocci numbers occurred to me as being a viable option since they were an arithmetic sequence as opposed to a geometric sequence. Using all of them up to the necessary 300 or so was too many, so I tried every other.

#1 - Fibbanocci B: $1,$2,$5,$13,$34,$89,$233,$610

And the winner is: The other every other Fibbanocci number! This had an amazingly low max, standard deviation, and overall average. On average, you would only need 5 bills from here to $1000. Amazing. Under $100, it also performed the best averaging only 3.34 bills per dollar amount.

Since I know that you are wondering, here is the statistical breakdown of each schema. The right-hand column is all the statistical values multiplied together for comparison's sake:


Standard DeviationMeanMaxMedianMode


1,5,10,20,50,100,500To $10002.300540912152726.70213779821.40944809868


To $1001.736680916593664.21844935.862612333992


1,3,9,27,81,243,729To $10001.946050130677815.97412665022.30390364911


To $1001.536229149573723.94844774.751084713018


1,4,9,25,64,144,289,529To $10001.576375894563535.2829551873.44393189403


To $1001.315755342460033.69644466.093172513041


1,3,8,21,55,144,377To $10001.524714975251365.4139662674.06342017554


To $1001.215181742237213.59644418.800235644632


1,2,5,13,34,89,233,610To $10001.366798865648915.0278551374.17957952341


To $1001.12114659923213.34534224.677778486113

I'm sure that no one will mind needing to pull out an $89, 2 $5s, and a $1 to give a friend $100. Hey, it's more efficient!
Enhanced by Zemanta