# From 1 to 9

Given the numbers 1 2 3 4 5 6 7 8 9 insert the + or - signs between them so that the result is 1 using all the numbers only once.

How many different solutions are you able to find?

#### Solution

In total there are 23 different solutions:

• -1 - 2 - 3 - 4 - 5 + 6 - 7 + 8 + 9 = 1
• -1 - 2 - 3 + 4 + 5 + 6 - 7 + 8 - 9 = 1
• -1 - 2 + 3 - 4 + 5 - 6 + 7 + 8 - 9 = 1
• -1 - 2 + 3 - 4 + 5 + 6 - 7 - 8 + 9 = 1
• -1 - 2 + 3 + 4 - 5 - 6 + 7 - 8 + 9 = 1
• -1 + 2 - 3 - 4 - 5 + 6 + 7 + 8 - 9 = 1
• -1 + 2 - 3 - 4 + 5 - 6 + 7 - 8 + 9 = 1
• -1 + 2 - 3 + 4 - 5 - 6 - 7 + 8 + 9 = 1
• -1 + 2 + 3 - 4 + 5 + 6 + 7 - 8 - 9 = 1
• -1 + 2 + 3 + 4 - 5 + 6 - 7 + 8 - 9 = 1
• -1 + 2 + 3 + 4 + 5 - 6 - 7 - 8 + 9 = 1
• 1 - 2 - 3 - 4 - 5 + 6 + 7 - 8 + 9 = 1
• 1 - 2 - 3 - 4 + 5 - 6 - 7 + 8 + 9 = 1
• 1 - 2 - 3 + 4 + 5 + 6 + 7 - 8 - 9 = 1
• 1 - 2 + 3 - 4 + 5 + 6 - 7 + 8 - 9 = 1
• 1 - 2 + 3 + 4 - 5 - 6 + 7 + 8 - 9 = 1
• 1 - 2 + 3 + 4 - 5 + 6 - 7 - 8 + 9 = 1
• 1 + 2 - 3 - 4 + 5 - 6 + 7 + 8 - 9 = 1
• 1 + 2 - 3 - 4 + 5 + 6 - 7 - 8 + 9 = 1
• 1 + 2 - 3 + 4 - 5 - 6 + 7 - 8 + 9 = 1
• 1 + 2 + 3 - 4 - 5 - 6 - 7 + 8 + 9 = 1
• 1 + 2 + 3 + 4 - 5 + 6 + 7 - 8 - 9 = 1
• 1 + 2 + 3 + 4 + 5 - 6 - 7 + 8 - 9 = 1
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}