Problem

Source: JBMO Shortlist 2021

Tags: Junior, Balkan, shortlist, 2021, number theory, Diophantine equation, functional equation



Find all pairs of integers $(x, y)$ such that $x^2 + 5y^2 = 2021y$.