Problem

Source:

Tags: number theory, algebra, rational, irrational



The real numbers $x$ and $y$ are such that for any distinct odd primes $p$ and $q$ the number $x^p + y^q$ is rational. Prove that $x$ and $y$ are rational numbers.