SOLUTION: The numbers 1,2,3 can we written next to each other and with + and - signs you can get a sum of 0, ie 1+2-3=0. You can also do it for 1-4 by doing 1-2-3+4=0. It cannot be done for

Algebra.Com
Question 987819: The numbers 1,2,3 can we written next to each other and with + and - signs you can get a sum of 0, ie 1+2-3=0. You can also do it for 1-4 by doing 1-2-3+4=0. It cannot be done for numbers 1-5.
i. Will it work for 1-6? 1-7? 1-8?
ii. In general, for which numbers will jt work?

Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
I set up my computer to find all the
possible results of 0 for the first n positive integers
up through n=8 with all possibilities of + and -
signs between them.  

There are no ways for 5 or 6,

There are 3,4,7,8 (lots of ways for 7 and 8. 

1+2-3 = 0

1-2-3+4 = 0

1+2-3+4-5-6+7 = 0
1+2-3-4+5+6-7 = 0
1-2+3+4-5+6-7 = 0
1-2-3-4-5+6+7 = 0

1+2+3+4-5-6-7+8 = 0
1+2+3-4+5-6+7-8 = 0
1+2-3+4+5+6-7-8 = 0
1+2-3-4-5-6+7+8 = 0
1-2+3-4-5+6-7+8 = 0
1-2-3+4+5-6-7+8 = 0
1-2-3+4-5+6+7-8 = 0

In fact the number of ways the number of solutions for 
1+-2+-3+-...+-n forms this sequence: 

0, 0, 1, 1, 0, 0, 4, 7, 0, 0, 35, 62, 0, 0, 361, 657, 0, 0, 4110, 7636, 0, 0,
49910, 93846, 0, 0, 632602, 1199892, 0, 0, 8273610, 15796439, 0, 0, 110826888,
212681976, 0, 0, 1512776590, 2915017360, 0, 0, 20965992017, 40536016030, 0, 0,
294245741167

So, it looks as though there are none for n 
1,2,5,6,9,10,13,14,etc.

Seems to follow a pattern.

Edwin

RELATED QUESTIONS

1. What’s the smallest number that you can write with 1’s and 0’s which is divisible by... (answered by Edwin McCravy)
{{{6xsquared + x-2=0}}} is the equation. I don't know how to show that the 6x is squared... (answered by bucky)
To calculate permutations of the golden ratio start by writing the first 20 numbers of... (answered by solver91311)
Hi all, I have a bit of a problem with a Matrices question I'm trying to answer. I need... (answered by stanbon)
Show that a + b +c + d + e = 30 by using 1,3,5,7,9,11,13 and 15 to get the answer and... (answered by Edwin McCravy)
How do I start to solve this problem? I have tried to solve but I am so confused.... (answered by mducky2)
Hello. Hoping you can help me answer this question. A) write geometric series... (answered by Fombitz)
If the digits 1 through 9 were written in order, it is possible to place plus and minus... (answered by jim_thompson5910)
The decimal system we use is based on the number 10. For example, the number 132 is... (answered by Alan3354)