Let P(x) satisfy the given equation.
If a=b=c=0, then P(0)=0.
If b=c=0, then P(−a)=P(a) for all real a.
Hence P(x) is even. Without loss of generality, we may assume that
P(x)=anx2n+⋯+a1x2, an=0.
If b=2a, c=−32a, we have that
P(−a)+P(38a)+P(−35a)=2P(37a),
or
an[1+(38)2n+(35)2n−2(37)2n]a2n+⋯+a1[1+(38)2+(35)2−2(37)2]a2=0
for all a∈R. Then all coefficients of the polynomial with variable a are 0.
If n≥3, it follows from 86=262144>235298=2×76 that (78)2n≥(78)6>2. This implies
1+(38)2n+(35)2n−2(37)2n>0.
Hence n≤2. Let P(x)=ax4+βx2, with a,β∈R.
We now show that P(x)=ax4+βx2 satisfies the given equation.
Let a,b,c be real numbers satisfying ab+bc+ca=0. Then
(a−b)4+(b−c)4+(c−a)4−2(a+b+c)4(a−b)2+(b−c)2+(c−a)2−2(a+b+c)2=∑(a4−4a3b+6a2b2−4ab3+b4)−2(a2+b2+c2)2=∑(a4−4a3b+6a2b2−4ab3+b4)−2a4−2b4−2c4−4a2b2−4a2c2−4b2c2=∑(−4a3b+2a2b2−4ab3)=−4a2(ab+ca)−4b2(bc+ab)−4c2(ca+bc)+2(a2b2+b2c2+c2a2)=4a2bc+4b2ca+4c2ab+2a2b2+2b2c2+2c2a2=2(ab+bc+ca)2=0,=∑(a2−2ab+b2)−2∑a2−4∑ab=0.
Hence P(x)=ax4+βx2 satisfies the given equation.