I tried to find the value of integers $a$, $b$, $c$, $d$, $w$, $y$, and $z$ so that the polynomial
$(x+a)(x+b)(x+c)+d$ and $(x+w)(x+y)(x+z)$ are equal.
By using brute-force approach with Microsoft Excel, I find some solutions like:
$(x-13)(x-12)(x-8) - 12 = (x-9)(x-10)(x-14)$
$(x-13)(x-10)(x-10) + 4 = (x-12)(x-9)(x-12)$
$(x+6)(x+7)(x+11) - 12 = (x+9)(x+10)(x+5)$
$(x-7)(x+3)(x-13) - 288 = (x-1)(x-15)(x-1)$
and so on.
To my surprise, all the values of $d$ that I obtained are multiples of $4$.
Is it true that $d$ is always a multiple of $4$? If so, why?
I tried to use Wolfram Alpha to find out why this happens but it gave the solutions $w$, $y$, and $z$ in terms of $a$, $b$, $c$, and $d$ and the solutions are very long and complicated.
Note: I have also tried to find the integers $a$, $b$, $c$, $d$, $m$, $v$, $w$, $y$, and $z$ that solve the equation $(x+a)(x+b)(x+c)(x+d)+m =(x+v)(x+w)(x+y)(x+z)$ and found that $m$ is also a multiple of $4$. Maybe there is some generalization to what I found.