Recently, I learned (via HN) that prime numbers are the magical building blocks of numbers.<p>By using that fact (without understanding it), I was able to beat the author's scores slightly by only including prime coins in the list of candidates.<p><a href="http://jsfiddle.net/JY648/" rel="nofollow">http://jsfiddle.net/JY648/</a><p>Oh, the author still wins on the 4- and 5-coin variations.<p>When I try to include more than X candidates, it crashes. Help?