TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Do We Need a 37-Cent Coin? (2009)

61 pointsby jawns7 months ago

25 comments

Jianghong947 months ago
&gt; Probability of a transaction resulting in value v is uniform from [0,99].<p>in reality, most of the transactions that use coins end up conforming to common existing coin combinations e.g. laundromats in US mostly price as multiples of quarters ($0.25)
评论 #41762687 未加载
评论 #41759598 未加载
评论 #41757840 未加载
qwerty4561277 months ago
We should better introduce $50, $100, $500, $1000 and $5000 coins. I&#x27;d love my entire salary to come in coins and to be able to pay for any purchase in coins conveniently.
评论 #41758923 未加载
评论 #41757421 未加载
评论 #41757449 未加载
评论 #41757537 未加载
评论 #41757596 未加载
评论 #41757385 未加载
评论 #41757328 未加载
gus_massa7 months ago
Iportant first comment in the blog:<p>&gt; <i>Just to summarize how commenter, Jeffrey Shallit, addresses the (1, 3, 11, 37) solution: this is the best way to use the Greedy algorithm to select coins. However, (1, 5, 18, 25) and (1, 5, 18, 29) are tied for the actual solutions. [...]</i>
TZubiri7 months ago
I thought it was going to be about how there was 3700% inflation since coins were actually a useful concept.<p>It&#x27;s probably just better to go for eliminating the cent and the nickel and making a 2.5$ coin.
评论 #41757703 未加载
zitterbewegung7 months ago
Most efficient would be to start rounding purchases to the nearest five cents (if is isn&#x27;t electronic) and get rid of the penny which costs more to produce than the penny is worth.
评论 #41759152 未加载
excalibur7 months ago
People need to be able to quickly do the math in their heads to make change. More efficient use of coins but harder for everyone involved is not a functional improvement.
评论 #41757324 未加载
ChuckMcM7 months ago
I love thinking about problems like that. Yes it is impractical and unlikely to result in any change but it also helps illuminate relationships (like # of coins in your change) that you might not otherwise see.<p>Of course, as an economist Patrick (the person asking the question in the article not the author) ignores what is most important about choosing coins &quot;Can the teller give you change quickly and accurately?&quot; That is the important question because GDP depends on transaction flow, and anything that hinders transaction flow is a net negative on GDP[1].<p>Using the Suica card in Japan I was reminded again of how useful it would be if the government would just bless a pure stored value cash card. Yes, I understand the arguments against it (mostly based on surveillance IMHO) but still it would be a useful thing in terms of getting us to 0 coins per transaction. :-)<p>[1] Yes, I subscribe to the theory that GDP is inherently a time based numbers &quot;value per unit time&quot;
评论 #41765336 未加载
Const-me7 months ago
In ideal world, I would prefer coins to be powers of 2.<p>It requires 7 coins in [ 1 .. 64 ] range to reach 100, but the average of popcnt( 1 .. 99 ) is only 3.19 coins per transaction, way better than 4.1 coins.
评论 #41759579 未加载
评论 #41761364 未加载
TheMechanist7 months ago
Two obvious problems: the fractional part of the price is not uniform over [00..99] and the system has 5 coins, since in 2021 minting for the half-dollar coin was restarted.
conductr7 months ago
At some point, that we are possibly near to, doesn’t the value of a dollar become so small that the fractions of a dollar that coins represent aren’t even worth dealing with?<p>If so, and transactions just rounds to nearest dollar the we are basically expecting that over our lifetime it will nearly balance out without the need to think about it too much.
TomMasz7 months ago
I currently have 0 coins and 0 bills on me. I had to borrow $10 from my wife to tip the bartenders at a wedding this past Saturday since I didn&#x27;t want to go to an ATM. Cash (and coins) have their place but it&#x27;s not worth the effort to make them more efficient anymore.
iconjack7 months ago
I believe the young economist mentioned in the article is simply wrong in his analysis. The most efficient 4-denomination set is {1,5,18,25} (tied with {1,5,18,29}) at 3.89 coins per transaction, better than the economist&#x27;s {1,3,11,38} at 4.10. This result is from a 2003 paper by Jeffrey Shallit called &quot;What&#x27;s This Country Needs is an 18¢ Piece&quot;. Just before posting, I verified Shallit&#x27;s result with a Python program.<p>[1] <a href="https:&#x2F;&#x2F;graal.ens-lyon.fr&#x2F;~abenoit&#x2F;algo09&#x2F;coins1.pdf" rel="nofollow">https:&#x2F;&#x2F;graal.ens-lyon.fr&#x2F;~abenoit&#x2F;algo09&#x2F;coins1.pdf</a>
mikedelfino7 months ago
&gt; The chance you have 43 cents in your pocket is equal to the probability that you have 29 or 99 cents in your pocket (in addition to any bills).<p>This was something I found fascinating when I first visited the US. I&#x27;m not sure if it&#x27;s common across the entire country, but it definitely happened everywhere I shopped: I always received the exact change. If something cost $1.97 and I paid $2 in cash, I would get 3 cents back. And so on, no matter how many coins would be necessary. How thoughtful. I&#x27;m more used to rounding off and leaving the change behind, no questions asked.
GolfPopper7 months ago
Why not just re-index the dollar so that coins are useful amounts of currency?
Jemm7 months ago
Canada got rid of the penny for cash transactions. Problem solved
评论 #41764935 未加载
herf7 months ago
I was curious what the theoretical distribution of digits might be, did not know that there is an extension of Benford&#x27;s law for later digits which suggests the uniform assumption is quite nearly right: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Benford%27s_law#Generalization_to_digits_beyond_the_first" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Benford%27s_law#Generalization...</a><p>Of course in real life, 50 cents and 99 cents are way more common.
dang7 months ago
Related:<p><i>Do We Need a 37-Cent Coin?</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1694075">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1694075</a> - Sept 2010 (137 comments)<p><i>Freakonomics: Do We Need a 37-Cent Coin?</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=864838">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=864838</a> - Oct 2009 (50 comments)
abetusk7 months ago
There&#x27;s a question on SE cstheory site that addresses the more general problem [0]. I wonder if this problem is still open.<p>[0] <a href="https:&#x2F;&#x2F;cstheory.stackexchange.com&#x2F;questions&#x2F;5861&#x2F;asymptotics-for-coin-changing" rel="nofollow">https:&#x2F;&#x2F;cstheory.stackexchange.com&#x2F;questions&#x2F;5861&#x2F;asymptotic...</a>
im3w1l7 months ago
It&#x27;s quite surprising to me how the US still has the penny. Like its value is less than the cost of carrying it around.
评论 #41757369 未加载
评论 #41757362 未加载
orthoxerox7 months ago
Why is a 11-cent coin ridiculous? With nine of them you could pay for these X.99 products and not get a penny in return.
评论 #41757738 未加载
评论 #41757730 未加载
matthewaveryusa7 months ago
The coins proposed are all prime, which makes sense to me intuitively. You&#x27;ll always need a 1 coin. I&#x27;m curious if it&#x27;s generally true that optimal coins for any given range starting at 0 will be primes?
评论 #41758013 未加载
jmclnx7 months ago
not anymore :)<p>Personally, in the US, pennies, nickles and dimes should be eliminated.<p>I think we are at the point were paper money $1, $2 and $5 should be replaced by coins. But that would cause a huge uproar in this country.
评论 #41759893 未加载
alexshendi7 months ago
I think we need a 1337 cent coin!
p0w3n3d7 months ago
While European Bank is striving for cash removal the coin is a nonstarter
efitz7 months ago
Touching coins is icky.
评论 #41759523 未加载