#1160
Se dă n un număr natural nenul. Să se afle câte soluții are ecuația x1+x2+...+xn=0 în mulțimea {-1,0,1}.
n
x
1
+x
2
+...+x
=0
{-1,0,1}