First we find all polynomials P(x,y) with complex coefficients which satisfies the condition of the problem statement. The identically zero polynomial clearly satisfies the condition. Let consider other polynomials. Let i2=−1 and P(x,y)=(x+iy)n(x−iy)mQ(x,y), where n and m are non-negative integers and Q(x,y) is a polynomial with complex coefficients such that it is not divisible neither by x+iy nor x−iy. By the problem statement we have Q(x,y)Q(z,t)=Q(xz−yt,xt+yz). Note that z=t=0 gives Q(x,y)Q(0,0)=Q(0,0). If Q(0,0)=0, then Q(x,y)=1 for all x and y. Thus P(x,y)=(x+iy)n(x−iy)m. Now consider the case when Q(0,0)=0. Let x=iy and z=−it. We have Q(iy,y)Q(−it,t)=Q(0,0)=0 for all y and t. Since Q(x,y) is not divisible by x−iy,Q(iy,y) is not identically zero and since Q(x,y) is not divisible by x+iy, Q(−it,t) is not identically zero. Thus there exist y and t such that Q(iy,y)=0 and Q(−it,t)=0 which is impossible because Q(iy,y)Q(−it,t)=0 for all y and t. Finally, P(x,y) polynomials with complex coefficients which satisfies the condition of the problem statement are P(x,y)=0 and P(x,y)=(x+iy)n(x−iy)n. It is clear that if n=m, then P(x,y)=(x+iy)n(x−iy)m cannot be polynomial with real coefficients. So we need to require n=m, and for this case P(x,y)=(x+iy)n(x−iy)n=(x2+y2)n.