Problem

Source: Mathematical Danube Competition 2017, Juniors P4

Tags: number theory, Diophantine equation, romania



Determine all triples of positive integers $(x,y,z)$ such that $x^4+y^4 =2z^2$ and $x$ and $y$ are relatively prime.