Problem

Source: St Petersburg Olympiad 2018, , Grade 11, P1

Tags: analytic geometry, geometry, number theory



Let $l$ some line, that is not parallel to the coordinate axes. Find minimal $d$ that always exists point $A$ with integer coordinates, and distance from $A$ to $l$ is $\leq d$