Number theoryDifficulty 6.0National olympiadProve it
4. Let (a,b)=1,c be an integer. Prove: In the Cartesian coordinate system, on the line with the equation ax+by=c, any segment of length ⩾(a2+b2)1/2 (including endpoints) must contain a point whose coordinates are integers.
Solution
4. Let the solution be x=x0+bt,y=y0−at. The distance between the integer points given by two consecutive solutions (i.e., corresponding to t,t+1) is equal to (a2+b2)1/2.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.