Problem

Source: Iran(third round)2003

Tags: Gauss, number theory, relatively prime, number theory unsolved



suppose this equation: x <sup>2</sup> +y <sup>2</sup> +z <sup>2</sup> =w <sup>2</sup> . show that the solution of this equation ( if w,z have same parity) are in this form: x=2d(XZ-YW), y=2d(XW+YZ),z=d(X <sup>2</sup> +Y <sup>2</sup> -Z <sup>2</sup> -W <sup>2</sup> ),w=d(X <sup>2</sup> +Y <sup>2</sup> +Z <sup>2</sup> +W <sup>2</sup> )