-3
$\begingroup$

Given the sequence 123456789

You can insert three operations (+,-,X,/) into this sequence to make the equation = 100.

Is there a way to solve this without brute force?

$\endgroup$
  • $\begingroup$ Can we use one operation multiple times? $\endgroup$ – user64580 Dec 27 '19 at 23:45
  • $\begingroup$ I found way to get 200 :( $\endgroup$ – Jasen Dec 27 '19 at 23:48
  • $\begingroup$ Does this answer your question? 1 2 3 4 5 6 7 8 9 = 100 $\endgroup$ – Adam Dec 28 '19 at 0:07
  • $\begingroup$ @Adam, yes thanks. $\endgroup$ – CR241 Dec 28 '19 at 0:09
2
$\begingroup$

If I’m allowed to use the same operation multiple times, I would do:

123−45−67+89 = 100

| improve this answer | |
$\endgroup$
  • $\begingroup$ you also need to re-order the digits to do that, so it's not a soltion $\endgroup$ – Jasen Dec 27 '19 at 23:48
  • $\begingroup$ Thanks I found out using the correct order :) $\endgroup$ – user64580 Dec 27 '19 at 23:52
  • $\begingroup$ @Jdrupal your answer With brute force, but I am looking for other possible solutions.. As I mentioned in question answer should be without Brute force. $\endgroup$ – CR241 Dec 27 '19 at 23:55
  • $\begingroup$ Sorry what do you mean by brute force? $\endgroup$ – user64580 Dec 28 '19 at 0:01
  • $\begingroup$ @CR241 There’s absolutely no evidence of a brute force method being used here. $\endgroup$ – Thomas Markov Dec 28 '19 at 0:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.