Factorize : $(x+y+z)^p-[(-x+y+z)^p+(x-y+z)^p+(x+y-z)^p]$ where $p$ is an odd prime. I am trying to factorize the expression: $$(x+y+z)^p-[(-x+y+z)^p+(x-y+z)^p+(x+y-z)^p]$$ where $p$ is an odd prime and $x,y,z$ are any non-zero integers.
I know that it is divisible by $pxyz$.
How do I find/write the remaining factor(s) in summation notation?
I tried to use the trinomial expansion but I keep getting lost. Any hints?

By using multinomial theorem, it's easy to see that after cancellation, all terms in your expression will have coefficient divisible by $p$ (since only terms which don't have such coefficient when expanding, say, $(x+y-z)^p$ are $x^p,y^p,-z^p$, and these cancel out from all the sums). Now we need to show all terms not containing all of $xyz$ get cancelled out (as then all leftover terms will be of the form $kpx^ay^bz^c,k\in\Bbb Z,a,b,c>0$ which will end the proof). Suppose the term doesn't contain $z$, so is of the form $x^ay^{p-a}$. We have from binomial theorem $(x+y+z)^p=\text{(stuff containing $x$)}+(y+z)^p=\binom{a}{p}y^az^{p-a}+\text{(other terms)}$. It's easy to see that from $(-x+y+z)^p,(x-y+z)^p,(x+y-z)^p$ you will get, in some order, $\binom{a}{p}y^az^{p-a}+\binom{a}{p}y^az^{p-a}-\binom{a}{p}y^az^{p-a}+\text{(other terms)}$. So, all in all, terms containing $y^az^{p-a}$ will all cancel out and we are home.
