3 ms·
Optimal in what sense? If you want to have each whole number using each number at most twice then sure. If you want to get within x% using at most k weights th
by contravariant 2y ago
Optimal in what sense? If you want to have each whole number using each number at most twice then sure.
If you want to get within x% using at most k weights the some kind of logarithmic distribution is also a good bet.
Both you and OP could benefit from being a bit clearer about what you find optimal.
- jstrieb 2y agoSee this comment for a more in-depth explanation of what I meant by "optimal" for poker chip denominations. Hopefully that clarifies. That comment has a link to the code if it's still not clear enough. https://news.ycombinator.com/item?id=40576198 https://news.ycombinator.com/item?id=40576198