Problem

Source: Lusophon Mathematical Olympiad 2022 Problem 3

Tags: number theory, Divisibility



The positive integers $x$ and $y$ are such that $x^{2022}+x+y^2$ is divisible by $xy$. a) Give an example of such integers $x$ and $y$, with $x>y$. b) Prove that $x$ is a perfect square.