Let us consider x1,x2,…,xn a solution of the equation above. We may suppose, without loss of generality, that x1+x2+⋯+xn≥0 (otherwise we change the signs of all the numbers) and that x1≤⋯≤xp≤0<xp+1≤⋯≤xn. Then the equation becomes −2(x1+x2+⋯+xp)=m. From xi∈(−1,1) we obtain that m<2p, i.e. p>2m. Moreover, n−p>xp+1+⋯+xn≥−x1−⋯−xp=2m. If m is even then p≥2m+1, n−p≥2m+1, and therefore n≥m+2. A convenient choice for n=m+2 is x1=⋯=x2m+1=−m+2m, x2m+2=⋯=xn=m+2m.
If m is odd, from p≥2m+1, n−p≥2m+1, we obtain n≥m+1. A convenient choice for n=m+1 is x1=⋯=x2m+1=−m+1m, x2m+1+1=⋯=xn=m+1m.
In conclusion, the smallest value of n for which the equation has solutions is
n=m+1 if m is odd and n=m+2 if m is even.