Find sum of all integral values of $r$ such that all roots of the equation $$x^3-(r-1)x^2-11x+4r=0$$ are also integers.
What I could do was $$r=\frac{x^3+x^2-11x}{x^2-4}=x+1+\frac{4-7x}{x^2-4}$$ Since $r$ and $x$ are both integers $(4-7x)$ must be divisible by $(x^2-4)$
After this I couldn't proceed. There could be a way using Viete's formulae but that also did not lead to solution
Let $p(x)=x^3-(r-1)x^2-11x+4r$ then $p(2) = -10 \lt 0$ so the cubic has a root $\gt 2$ or, being an integer root, $\ge 3$.
For $r=x+\frac{x^2-7x}{x^2-4}$ to be an integer, $|x^2-4| \le |x^2-7x|$ $\iff 0 \le (x^2-7x)^2 - (x^2 - 4)^2$ $=-(2 x + 1)(7x - 4) (x - 4)$ $\iff x \le - \frac{1}{2} \;\lor\; \frac{4}{7} \le x \le 4$. It follows that the root $\ge 3$ can only be $3$ or $4$. It cannot be $3$ because $3^2 - 4 \not\mid 3^2 - 7 \cdot 3$, which leaves only $\,x=4\,$ to check.