Talk:Sum to 100: Difference between revisions

m
→‎extra credit: moved the complete list of solutions of "9" from the "page" area.
(added a new talk section.)
m (→‎extra credit: moved the complete list of solutions of "9" from the "page" area.)
Line 25:
== extra credit ==
I had initially thought to add an extra credit solution for the   ''largest''   sum   (except for the obvious   '''123456789''').   I'm not sure it would be a worthwhile (optional) requirement, it could be pretty CPU intensive.   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 04:21, 1 January 2017 (UTC)
 
==complete list of solutions for   '''9'''==
For those that are interested (or need a sanity check), the 46 solutions (for the sum of 9) are:
<pre>
solution: 9 ◄───► -1+2+3+4+5+6+7-8-9
solution: 9 ◄───► -1+2+3-4+5-6-7+8+9
solution: 9 ◄───► -1+2+3-4-5+6+7-8+9
solution: 9 ◄───► -1+2+3-45+67-8-9
solution: 9 ◄───► -1+2+34+56+7-89
solution: 9 ◄───► -1+2-3+4+5-6+7-8+9
solution: 9 ◄───► -1+2-3+4-5+6+7+8-9
solution: 9 ◄───► -1+23+4+5+67-89
solution: 9 ◄───► -1+23+4-5-6-7-8+9
solution: 9 ◄───► -1+23-4+5-6-7+8-9
solution: 9 ◄───► -1+23-4-5+6+7-8-9
solution: 9 ◄───► -1-2+3+4+5+6-7-8+9
solution: 9 ◄───► -1-2+3+4+5-6+7+8-9
solution: 9 ◄───► -1-2+3-4-5-6+7+8+9
solution: 9 ◄───► -1-2+3-4-56+78-9
solution: 9 ◄───► -1-2-3+4-5+6-7+8+9
solution: 9 ◄───► -1-2-3+45-6-7-8-9
solution: 9 ◄───► -1-2-3-4+5+6+7-8+9
solution: 9 ◄───► -1-2-34+56+7-8-9
solution: 9 ◄───► -1-23+45-6-7-8+9
solution: 9 ◄───► -12+3-45-6+78-9
solution: 9 ◄───► -12+34+5+6-7-8-9
solution: 9 ◄───► -12+34+56-78+9
solution: 9 ◄───► -12-34+5+67-8-9
solution: 9 ◄───► 1+2+3+4-5-6-7+8+9
solution: 9 ◄───► 1+2+3-4+5-6+7-8+9
solution: 9 ◄───► 1+2+3-4-5+6+7+8-9
solution: 9 ◄───► 1+2-3+4+5+6-7-8+9
solution: 9 ◄───► 1+2-3+4+5-6+7+8-9
solution: 9 ◄───► 1+2-3-4-5-6+7+8+9
solution: 9 ◄───► 1+2-3-4-56+78-9
solution: 9 ◄───► 1+2-34-56+7+89
solution: 9 ◄───► 1+23+4-5-6-7+8-9
solution: 9 ◄───► 1+23-4+5-6+7-8-9
solution: 9 ◄───► 1+23-45+6+7+8+9
solution: 9 ◄───► 1-2+3+4+5+6-7+8-9
solution: 9 ◄───► 1-2+3-4-5+6-7+8+9
solution: 9 ◄───► 1-2-3+4+5-6-7+8+9
solution: 9 ◄───► 1-2-3+4-5+6+7-8+9
solution: 9 ◄───► 1-2-3-4+5+6+7+8-9
solution: 9 ◄───► 1-2-3-4-5-67+89
solution: 9 ◄───► 1-23+4+5-67+89
solution: 9 ◄───► 1-23+45-6-7+8-9
solution: 9 ◄───► 1-23-4+5+6+7+8+9
solution: 9 ◄───► 1-23-45-6-7+89
solution: 9 ◄───► 12-34-56+78+9
46 solutions found for 9
</pre>