Let $x,y,z$ are integer and $x,y>0$
Define $S(x,y)=1^y+2^y+3^y+...+x^y$
Can it be shown that
If given $z\ne0$ then $S(x,y)\equiv z\pmod{x}$ have finitely many solution of $x$ with respect to $y$.
Example
Let $z=\pm1$ and $y\equiv 1\pmod2$ then $x=1,2$