[Math] The product of two numbers that can be written as the sum of two squares

number theory

Prove that if n is the product of two numbers that can be written as the sum of two squares then n can be written as the sum of two squares.

Best Answer

See the Brahmagupta–Fibonacci identity.

Or consider the formula for the product of two complex numbers, and take the moduli.