Instead of constructing an equation at random and then converting it into a puzzle, one can also just construct a random puzzle (but don't let yourself use more than 10 different letters). Here are your odds of success with that route:

Digits Number of puzzles 1 31,200 with unique solutions 37,102 with no solutions 406,250 with 4..32 solutions 474,551 total puzzles 2 10,795,200 with unique solutions 1,990,652,352 with no solutions 6,339,278,400 with 3..476 solutions 8,340,725,952 total puzzles 3 33,433,717,226 with unique solutions 6,746,392,175,276 with no solutions 139,816,773,439,850 with 2..1200 solutions 146,596,599,332,352 total puzzles 4 1,974,825,396,897,600 with unique solutions 240,014,957,704,387,2?? with no solutions 1,147,855,057,502,310,0?? with 2..3840 solutions 1,389,844,840,603,594,8?? total puzzles 2,576,581,829,865,418,742 total random letter choices 1,186,736,989,261,824,0?? with over 10 different letters Digs Uniq None Dupl Max 1 6.57% 7.82% 85.61% 32 2 0.13% 23.87% 76.00% 476 3 0.02% 4.60% 95.38% 1200 4 0.14% 17.27% 82.59% 3840

And I suspect the odds just get worse after this. (And note that the numbers have gotten too complicated for both Perl and me toward the end there so don't use these for life-and-death calculations.)


In reply to Re^4: Golfing cryptosums by Anonymous Monk
in thread Golfing cryptosums by ELISHEVA

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.