Problem

Source: 2023 Turkey Junior National Olympiad P3

Tags: number theory, Divisibility, relatively prime



Let $m,n$ be relatively prime positive integers. Prove that the numbers $$\frac{n^4+m}{m^2+n^2} \qquad \frac{n^4-m}{m^2-n^2}$$cannot be integer at the same time.