block by ZJONSSON a48de2e491aaec959113

Optimal denominations

Full Screen

This small script uses combinatory analysis to figure out the optimal denominations for given number of possible coins to minimize the coins required to produce any amount between 1 cent and 1 dollar. The candidate set of denominations is reduced to keep the combinatory possibilities within reason.

index.html

denom.js