Problem

Source: Greek National mathematical olympiad,Problem 1

Tags: number theory, Diophantine equation



Find all triplets of nonnegative integers $(x,y,z)$ and $x\leq y$ such that $x^2+y^2=3 \cdot 2016^z+77$