📐 Three Squares Theorem
A positive integer $n$ can be written as a sum of three squares $n = x^2 + y^2 + z^2$ if and only if $n$ is not of the form $4^a(8b + 7)$.
From: Disquisitiones Arithmeticae
Learn more: https://gauss-deploy.vercel.app/#/section/5
Explore all courses: https://mathacademy-cyan.vercel.app