z^2=a^2-b^2+2abi,
z^2/(1+i)=(1-i)z^2/2是实数,
∴其虚部=0,b^2-a^2+2ab=0,①
(1+i)^2=2i,
z/(1+i)^2=-iz/2是实数,
∴a=0,
代入①,b=0,矛盾。请检查题目