📐 Two Squares Theorem
A positive integer $n$ is a sum of two squares if and only if every prime factor $p \\equiv 3 \\pmod{4}$ appears to an even power in the factorization of $n$.
From: Disquisitiones Arithmeticae
Learn more: https://gauss-deploy.vercel.app/#/section/4
Explore all courses: https://mathacademy-cyan.vercel.app