$x_1,x_2...x_m$ are integers where $-2\leq x_j\leq1$, for all j=1,2,...m and $S_r=\sum_{j=1}^mx_j^r,S_1=22,S_4=184.$ Then $\max(S_3)-\min(S_3)$ is?
My attempt:
$$ \begin{align*} S_1&=x_1+x_2+x_3+\ldots =22\\ S_4&=x^4_1+x^4_2+x^4_3+\ldots=184 \end{align*}$$
$x_j$ can be $-2,-1,0,1$
I think $x_3$ can take multiple values because the answer is not zero, however this is not mentioned anywhere in the question. I don't know how to proceed further