The coordinates of the two ends of a diagonal of a square are and . The line passes through how many points such that the ordinate and abscissa of the point are both integers and the point lies within the square.
This question has no short answer. Try it yourself, then compare with the solution.