Problem

Source: Kyiv City MO 2023 Round 1, Problem 10.3

Tags: analytic geometry, grid, geometry, cyclic quadrilateral



Consider all pairs of distinct points on the Cartesian plane $(A, B)$ with integer coordinates. Among these pairs of points, find all for which there exist two distinct points $(X, Y)$ with integer coordinates, such that the quadrilateral $AXBY$ is convex and inscribed. Proposed by Anton Trygub