Factor $(x+1)(x+2)(x+3)(x+4)-24$.
My attempt:I did it a long and boring way:
$(x+1)(x+2)(x+3)(x+4)-24=x(x^3+10x^2+35x+50)$
After that I solved the equation $x^3+10x^2+35x+50=0$ and found the integer solution $-5$ and I divided the polynomial to $x+5$ and got the answer $x^2+5x+10$ and factored it like this:
$x(x+5)(x^2+5x+10)$
I want an easier way to solve it; which way would you recommend?
Since $x=0$ and $x=-5$ are roots of the given equation, $$ (x+1)(x+2)(x+3)(x+4)-24 = x(x+5)\cdot q(x) \tag{1} $$ where $q(x)$ is a monic second-degree polynomial. We may notice that, by De l'Hopital's rule, $$ q(0) = \lim_{x\to 0}\frac{(x+1)(x+2)(x+3)(x+4)-24}{x(x+5)}=\frac{24\,H_4}{5}=10 \tag{2}$$ and if $q(x)=x^2+Kx+10$, in order that the coefficient of $x^3$ is the same in both sides of $(1)$ $$ 1+2+3+4 = K+5 \tag{3} $$ i.e. $K=5$, has to hold.