Problem

Source: IMOC 2018 N3

Tags: number theory, Divisibility



Find all pairs of positive integers $(x,y)$ so that $$\frac{(x^2-x+1)(y^2-y+1)}{xy}\in\mathbb N.$$