Problem

Source:

Tags: calculus, integration, Diophantine Equations



For all $n \in \mathbb{N}$, show that the number of integral solutions $(x, y)$ of \[x^{2}+xy+y^{2}=n\] is finite and a multiple of $6$.